powered by
Return the number of rows and columns in a database table.
tableDim(channel, sqtable)
Vector of length two, containing the number of rows and columns.
an RODBC connection.
a database table or view.
tableNrow and tableNcol are the underlying functions to get the number of rows and columns in a database table.
tableNrow
tableNcol
dim is the base function to return the dimensions for data frames inside the R workspace.
dim
MSSQL-package gives an overview of the package.
MSSQL-package
if (FALSE) { con <- odbcConnect("myDatabase") tableDim(con, "sysusers") }
Run the code above in your browser using DataLab