. Advertisement .
..3..
. Advertisement .
..4..
How to check – ora-00984: column not allowed here? I have the sample detail:
INSERT INTO MY.LOGFILE
(id,severity,category,logdate,appendername,message,extrainfo)
VALUES
(
"dee205e29ec34",
"FATAL",
"facade.uploader.model",
"2013-06-11 17:16:31",
"LOGDB",
NULL,
NULL
)
While I run it, I found the warning message:
[Err] ORA-00984: column not allowed here
That is my question in my midterm exam, and it is urgent. I searched for the key on some websites, but I didn’t get it. I may miss any line or other changes. I appreciate your assistance!
The cause: The string value should be surrounded by a single quotes but not double quotes. SQL uses double quotes to indicate identifiers and not string constants.
Solution: Replacing double quotes by single ones as bellow: