powered by
Return the first rows of a database table.
tableHead(channel, sqtable, n = 3)
Data frame with the first n rows of the database table or view.
n
an RODBC connection.
a database table or view.
number of rows to get.
sqlQuery with tableQuote are the underlying functions used to query the table/view.
sqlQuery
tableQuote
head is the base function to return the first parts of an object inside the R workspace.
head
tableOverview shows the data types and dimensions of a database table.
tableOverview
MSSQL-package gives an overview of the package.
MSSQL-package
if (FALSE) { con <- odbcConnect("myDatabase") tableHead(con, "sysusers") t(tableHead(con, "sysusers", 1)) }
Run the code above in your browser using DataLab