Get "ORA -00984 colunm not allowed" using Access 2000 to insert records in Oracle table read from a [message #473] |
Thu, 14 February 2002 13:13 |
Mary Ellen Smith
Messages: 1 Registered: February 2002
|
Junior Member |
|
|
I am using Access 2000 as a front end to Oracle. I need to insert records into the Oracle tables from a text file. I keep getting the error message ORA-000984 "Colunm not allowed here" when I thy to execute the insert statement.
Here is my insert statement:cmd.CommandText = "Insert INTO Fac_Pat_DptCharges_Tbl ( FACILITY_ID, ADMISSION_NUMBER, FACILITY_DEPARTMENT, PS_GL_DEPT_NUM, PS_GL_SATELLITE_NUM, SERVICE_DATE, POST_DATE, TOTAL_UNITS, TOTAL_CHARGES, TOTAL_COST )" _
& " VALUES('Fac', AdmitNumber, 'FacDept', 'PSGLDept', 'PSGLSatNo', TO_DATE('ServDate', 'MM/DD/YYYY'), TO_DATE('postDATE', 'MM/DD/YYYY'), TotalUnits, TotalCharges, TotalCost)" Any suggestions?
|
|
|
|
|
|