What is the difference bewteen the two RODBC functions: sqlQuery
and sqlFetch
?
You can send this command:
library(RODBC)
?sqlQuery
?sqlFetch
And from the guide:
sqlQuery: Submit an SQL query to an ODBC database, and retrieve the results.
sqlFetch: Read some or all of a table from an ODBC database into a data frame.