tableDim
and tableNrow
also return the dimensions
of a database table.
sqlColumns
is the underlying function used to examine
the table columns.
ncol
is the base function to return the number of columns for
data frames inside the R workspace.
MSSQL-package
gives an overview of the package.