odbcTables(channel)odbcColumns(channel, table)
odbcPrimaryKeys(channel, table)
odbcQuery(channel, query)
odbcFetchRows(channel, max = 0, buffsize = 1000, nullstring = NA,
believeNRows = TRUE)
odbcConnect()
of class "RODBC"
.SQL_NULL_DATA
items
from the database.1
on success and -1
on failure,
indicating that a message is waiting for odbcGetErrMsg
.
odbcFetchRows
may return -2
indicating "No Data"
,
the message that would be returned by odbcGetErrMsg
.odbcFetchRows
returns a data frame of the pending
rowset in $data
limited to max
rows if
max
is greater than 0. buffsize
may be increased from the
default of 1000 rows for increased performance in a large dataset.
This only has an effect with servers that do not return the number of rows
affected by a query e.g. MS Access, MS SQLServer.sqlQuery
, odbcConnect
,
odbcGetErrMsg
.