powered by
Show data types and dimensions of a database table.
tableOverview(channel, sqtable, max = 1000)
List containing Cols and Rows, describing column data types and the number of rows.
Cols
Rows
an RODBC connection.
a database table or view.
number of rows to analyze the resulting data frame columns in R. Pass max = 0 to analyze the entire database table.
max = 0
sqlColumns, sqlQuery, and tableNrow are the underlying functions used to examine the table/view.
sqlColumns
sqlQuery
tableNrow
class is the base function to show the class of an object inside the R workspace.
class
tableHead returns the first rows of a database table.
tableHead
MSSQL-package gives an overview of the package.
MSSQL-package
if (FALSE) { con <- odbcConnect("myDatabase") tableOverview(con, "sysusers") tableOverview(con, "sysusers")$Cols }
Run the code above in your browser using DataLab