dbListFields,OdbcConnection,character-method {odbc} | R Documentation |
List field names of a remote table
## S4 method for signature 'OdbcConnection,character' dbListFields(conn, name, catalog_name = NULL, schema_name = NULL, column_name = NULL, ...)
conn |
A DBIConnection object, as returned by
|
name |
a character string with the name of the remote table. |
catalog_name |
The name of the catalog to return, the default returns all catalogs. |
schema_name |
The name of the schema to return, the default returns all schemas. |
column_name |
The name of the column to return, the default returns all columns. |
... |
Other parameters passed on to methods. |
%
can be used as a wildcard in any of the search parameters to
match 0 or more characters. _
can be used to match any single character.
a character vector
dbColumnInfo()
to get the type of the fields.
Other DBIConnection generics: DBIConnection-class
,
dbDataType
, dbDisconnect
,
dbExecute
, dbExistsTable
,
dbGetException
, dbGetInfo
,
dbGetQuery
, dbIsValid
,
dbListObjects
, dbListResults
,
dbListTables
, dbReadTable
,
dbRemoveTable
, dbSendQuery
,
dbSendStatement
, dbWriteTable