I'm trying to use SQLLoader to load csv data into a table but i am receiving the following error - Record 1: Rejected - Error on table PMI_DATA_SPRINT_REPORTER.PERSON, column DATETIME_OF_BIRTH. ORA-00984: column not allowed here Show Tried to subvstr and to_date the data due to only needing YYYY-MM-DD - Any suggestions are appreciated, thanks. DDL of the table
Control file
CSV with an example record(unsure how to put an actual file here..) Last updated on FEBRUARY 23, 2022 NOTE: In the images and/or the document content below, the user information and data used represents fictitious data. SymptomsUsing the control file: LOAD
DATA
Cause
In this Document How do I fix column not allowed here in Oracle?ORA-00984: Column Not Allowed Here tips. An ORA-00984 will be thrown if a column name (like in the VALUES clause of an INSERT statement), is used in an expression where it is not permitted. ... . To correct ORA-00984, you simply need to view the syntax of the SQL statement and only use column names where they are appropriate.. What does column not allowed here mean?The ORA 00984: column not allowed here error occurs when a column is not allowed in the VALUES clause of the insert query, the column name is used in VALUES clause or missing quotes in the insert statement. The VALUES clause should contain values that will be stored in the table.
|