I am new to Oracle and in the processes of converting an Access database into Oracle. I currently have a VB6 program that opens an ADO recordset using the following SQL statement:
strSQL = "insert into foreman_data(radio_number,foreman_name,comments) select radio_" & _
' "number,foreman_name,comments from foreman_data in '" & strAccessDBPath & "'"
This statement selects data from the foreman_data table in the Access database defined in strAccessDBPath and inserts it into an identical table in a different Access database.
This works correctly but I now want to select from an Access database and insert the data into an identical table in an Oracle database. When I try to run the query I get "ORA-00933: SQL command not properly ended".
Any help with this statement will be greatly appreciated.
strSQL = "insert into foreman_data(radio_number,foreman_name,comments) select radio_" & _
' "number,foreman_name,comments from foreman_data in '" & strAccessDBPath & "'"
This statement selects data from the foreman_data table in the Access database defined in strAccessDBPath and inserts it into an identical table in a different Access database.
This works correctly but I now want to select from an Access database and insert the data into an identical table in an Oracle database. When I try to run the query I get "ORA-00933: SQL command not properly ended".
Any help with this statement will be greatly appreciated.