I need to sync data from a legacy ERP database to an Oracle database.
I'm running a test VBScript with the following:
Set oCn = CreateObject("ADODB.Connection")
oCn.Open "Data Source=strdb; UID=user; PWD=password; DBA=W;"
sSQL = "update CUSTFILES set CMEMO='ABC' where CLIC='107647'"
oCn.Execute sSQL
The error returned is:
Microsoft OLE DB Provider for ODBC Drivers [Oracle][ODBC][Ora]ORA-16000: database open for read-only access
The DBA says the user ID has read/write access to the Oracle database.
I can run the same query successfully in Oracle SQL Developer using the same credentials.
Any pointers on why this connection is read only?
Sage 300 Certified Consultant
I'm running a test VBScript with the following:
Set oCn = CreateObject("ADODB.Connection")
oCn.Open "Data Source=strdb; UID=user; PWD=password; DBA=W;"
sSQL = "update CUSTFILES set CMEMO='ABC' where CLIC='107647'"
oCn.Execute sSQL
The error returned is:
Microsoft OLE DB Provider for ODBC Drivers [Oracle][ODBC][Ora]ORA-16000: database open for read-only access
The DBA says the user ID has read/write access to the Oracle database.
I can run the same query successfully in Oracle SQL Developer using the same credentials.
Any pointers on why this connection is read only?
Sage 300 Certified Consultant