Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ORA-00917: missing comma

928281Apr 10 2012 — edited Apr 10 2012
Hello again,

I am here because I know I am missing something. I see I have a comma after every column name in the INSERT clause, and in the VALUES clause I put commas after the values for the corresponding columns.

Even if you don't tell me the exact reason, I'd appreciate any guidance to find out where my syntax is wrong.

Here is my code:

INSERT INTO appeals (appeal_id, crime_id, status, TO_CHAR(filing_date, 'MONTH DD YYYY')"Filing_Date",
TO_CHAR(hearing_date, 'MONTH DD YYYY')"Hearing_Date")
VALUES(APPEALS_ID_SEQ.NEXTVAL, :crime_id, '', :filing_date, :hearing_date);

Thanks!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 8 2012
Added on Apr 10 2012
3 comments
1,162 views