I am trying to a write a little application that read / write data from 9i.
I have some C++ code that works with Access and SQL Server via ODBC. However when I try and run it on 9i, it then gets upset, giving me the following error:
although I can quite happily run the statement in SQL*Plus. The statement is as follows:
This was done using the Oracle in OraHome92 ODBC driver. If I try and use the MS Oracle driver (Microsoft ODBC for Oracle) then I failed to even connect to the database.
Any ideas what I can do? The strangest thing is that the change is applied to the database and then the above error is issued.
Thanks,
Matt
I have some C++ code that works with Access and SQL Server via ODBC. However when I try and run it on 9i, it then gets upset, giving me the following error:
Code:
ORA-00900: invalid SQL statement
although I can quite happily run the statement in SQL*Plus. The statement is as follows:
Code:
UPDATE tblRegCode SET rDescription = 'moretime in bed' WHERE rCode = '/'"
This was done using the Oracle in OraHome92 ODBC driver. If I try and use the MS Oracle driver (Microsoft ODBC for Oracle) then I failed to even connect to the database.
Any ideas what I can do? The strangest thing is that the change is applied to the database and then the above error is issued.
Thanks,
Matt