odbcListColumns: List columns in an object.

View source: R/connection-pane.R

odbcListColumnsR Documentation

List columns in an object.

Description

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

Usage

odbcListColumns(connection, ...)

Arguments

connection

A connection object, as returned by dbConnect().

...

Parameters specifying the object.

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.

Value

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


rstats-db/odbc documentation built on April 30, 2024, 2:10 p.m.