Learn R Programming

RODBCDBI (version 0.1.1)

dbListFields,ODBCConnection,character-method: List fields in specified table.

Description

List fields in specified table.

Usage

"dbListFields"(conn, name)

Arguments

conn
An existing ODBCConnection
name
a length 1 character vector giving the name of a table.

Examples

Run this code
## 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)

Run the code above in your browser using DataLab