odbcListColumns function

List columns in an object.

List columns in an object.

Lists the names and types of each column (field) of a specified object.

odbcListColumns(connection, ...)

Arguments

  • connection: A connection object, as returned by dbConnect().
  • ...: Parameters specifying the object.

Returns

A data frame with name and type columns, listing the object's fields.

Details

The object to inspect must be specified as one of the arguments (e.g. table = "employees"); depending on the driver and underlying data store, additional specification arguments may be required.

  • Maintainer: Hadley Wickham
  • License: MIT + file LICENSE
  • Last published: 2025-03-27