I have a DSN connection to an Oracle DB. I can connect to the Database no problem but when I try yo reference a particular table in my query I get the message
"TABLE OR VIEW DOES NOT EXIST"
Set oOracle = WScript.CreateObject("ADODB.Connection"
oOracle.Open "FileDSN=Luf.dsn;UID=hunt;PWD=changeme"
Set oRst2 = WScript.CreateObject("ADODB.Recordset"
sQuery = "SELECT * FROM MGR_ACCT WHERE acct_id LIKE '2EX8A%'"
oRst2.Open sQuery, oOracle
I know the table names and fields are spelled properly since I can connect through MS Access's "linked tables" feature and see all the tables and records.
Any Ideas Why?
Thanks
"TABLE OR VIEW DOES NOT EXIST"
Set oOracle = WScript.CreateObject("ADODB.Connection"
oOracle.Open "FileDSN=Luf.dsn;UID=hunt;PWD=changeme"
Set oRst2 = WScript.CreateObject("ADODB.Recordset"
sQuery = "SELECT * FROM MGR_ACCT WHERE acct_id LIKE '2EX8A%'"
oRst2.Open sQuery, oOracle
I know the table names and fields are spelled properly since I can connect through MS Access's "linked tables" feature and see all the tables and records.
Any Ideas Why?
Thanks