Skip to Main Content

SQL & PL/SQL

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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Unable to insert a row, throws Error "ORA-01722: invalid number"; Kindly refer my code below

User_TOVSRJul 16 2021

table description.docx (73.38 KB)INSERT INTO employees(EMPNO, ename, job, mgr, hiredate, sal, comm, store_id)
VALUES (1234, 'Test', 'TEST', 'TEST', TO_DATE('01/01/2021', 'DD/MM/YYYY'), 5000, 0, 9)
ERROR
ORA-01722: invalid number
ORA-06512: at "SYS.DBMS_SQL", line 1721
1. INSERT INTO employees(EMPNO, ename, job, mgr, hiredate, sal, comm, store_id)
2. VALUES (1234, 'Test', 'TEST', 'TEST', TO_DATE('01/01/2021', 'DD/MM/YYYY'), 5000, 0, 9)

This post has been answered by BluShadow on Jul 16 2021
Jump to Answer
Comments
Post Details
Added on Jul 16 2021
1 comment
849 views