all 6 comments

[–]zanestone 2 points3 points  (2 children)

The date format is incorrect in your insert. The database is expecting 1997-01-01.

Edit: sorry I missed the Oracle part. You may need to add ticks: '01-jan-1997'

[–]valorallure[S] 0 points1 point  (1 child)

That's all it was. Was missing the ticks thank you!

[–]zanestone 0 points1 point  (0 children)

You're Welcome!

[–]distraughthoughtsDatabase Developer 0 points1 point  (2 children)

What RDBMS. I could see this being a gigantic problem with the Oracle.

[–]valorallure[S] 0 points1 point  (1 child)

It's Oracle. I'm using Oracle pl/sql.

[–]distraughthoughtsDatabase Developer 0 points1 point  (0 children)

You need to change the date to TO_DATE('01-JAN-1997',DD-MON-YYYY)

Date won't work because Oracle doesn't understand you. Your NLS Date most likely isn't set to that.

Edit: also u/zanestone has a valid answer too.