Question: /* Insert the data into the COURSE table */ INSERT INTO COURSE VALUES('ACCT-211','Accounting I',3); INSERT INTO COURSE VALUES('ACCT-212','Accounting II',3); INSERT INTO COURSE VALUES('CIS-220','Intro to Microcomputing',3);
/* Insert the data into the COURSE table */ INSERT INTO COURSE VALUES('ACCT-211','Accounting I',3); INSERT INTO COURSE VALUES('ACCT-212','Accounting II',3); INSERT INTO COURSE VALUES('CIS-220','Intro to Microcomputing',3); INSERT INTO COURSE VALUES('CIS-420','Database Design and Implementation',4);
gives me error in oracle:
ORA-00001: unique constraint (SQL_YCCNBIDFWHMDBRHQIHQGKOLRZ.SYS_C0052064000) violated ORA-06512: at "SYS.DBMS_SQL", line 1721 ORA-00001: unique constraint (SQL_YCCNBIDFWHMDBRHQIHQGKOLRZ.SYS_C0052064000) violated ORA-06512: at "SYS.DBMS_SQL", line 1721 ORA-00001: unique constraint (SQL_YCCNBIDFWHMDBRHQIHQGKOLRZ.SYS_C0052064000) violated ORA-06512: at "SYS.DBMS_SQL", line 1721 ORA-00001: unique constraint (SQL_YCCNBIDFWHMDBRHQIHQGKOLRZ.SYS_C0052064000) violated ORA-06512: at "SYS.DBMS_SQL", line 1721
How do I fix?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
