tableDim | R Documentation |
Return the number of rows and columns in a database table.
tableDim(channel, sqtable)
channel |
an RODBC connection. |
sqtable |
a database table or view. |
Vector of length two, containing the number of rows and columns.
tableNrow
and tableNcol
are the underlying
functions to get the number of rows and columns in a database table.
dim
is the base function to return the dimensions for data
frames inside the R workspace.
MSSQL-package
gives an overview of the package.
## Not run:
con <- odbcConnect("myDatabase")
tableDim(con, "sysusers")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.