I am trying to execute a SQL statement from VBScript. The statement works in Oracle (SQL*Plus) but creates a Oracle Error within my HTML/ASP page
Error: ORA-00900 Invalid SQL statement.
If this same statement works within Oracle, why not within an ADO connection Execute statement?? I don't think it has anything to do with the ADO connection itself for it is used numerous other places in code, with no errors. Here is my VBscript statement:
Can .Execute be used for any SQL statement?? (besides UPDATE, INSERT, DELETE, CREAT/DROP TABLE...etc) Any responses will be greatly appreciated.
Thanks
-vza
Error: ORA-00900 Invalid SQL statement.
If this same statement works within Oracle, why not within an ADO connection Execute statement?? I don't think it has anything to do with the ADO connection itself for it is used numerous other places in code, with no errors. Here is my VBscript statement:
Code:
Cn.Execute "COPY FROM userID/password@DSN TO userID/password@DSN REPLACE Dest_Table Using Select * From Source_Table"
Can .Execute be used for any SQL statement?? (besides UPDATE, INSERT, DELETE, CREAT/DROP TABLE...etc) Any responses will be greatly appreciated.
Thanks
-vza