dbListFields,ODBCConnection,character-method {RODBCDBI} | R Documentation |
List fields in specified table.
Description
List fields in specified table.
Usage
## S4 method for signature 'ODBCConnection,character'
dbListFields(conn, name)
Arguments
conn |
An existing |
name |
a length 1 character vector giving the name of a table. |
Examples
## Not run:
library(DBI)
con <- dbConnect(RODBCDBI::ODBC(), dsn="test", user="sa", password="Password12!")
dbWriteTable(con, "iris", iris, overwrite=TRUE)
dbListFields(con, "iris")
dbDisconnect(con)
## End(Not run)
[Package RODBCDBI version 0.1.1 Index]