Skip to content
Prev 120400 / 398498 Next

RODBC on Oracle DB

Try the sqlQuery() syntax with a semi-colon at the end of it:

  sqlQuery(essai, "select * from S_TYP_COLLEGES;")

Oracle requires the semi-colon at the end of the SQL statement.

If that does not help, try these queries using the Oracle Instant Client
command line application outside of R and see if your queries work
there.  If so, then we can likely isolate the problem to R.  If not,
then there is an ODBC/Oracle configuration issue.

If you are unsure of how to use (or perhaps install) the Oracle Instant
Client, check with one of your SysAdmins.

BTW, unstated is the OS here, but I presume Windows, given the ODBC
driver version and DLL noted previously.

HTH,

Marc Schwartz
On Tue, 2007-07-17 at 09:24 +0200, eric at net2000.ch wrote: