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