RODBC sqlQuery 与 sqlFetch

RODBC sqlQuery vs sqlFetch

sqlQuerysqlFetch 这两个 ODBC 函数有什么区别?

您可以发送这个命令:

library(RODBC)
?sqlQuery
?sqlFetch

来自指南:

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.