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!

If Both tables having References then how to insert the data each other

947624Jul 23 2012 — edited Jul 23 2012
Hai EveryOne..,

My Sample data.,

Create table emp (empno number primary key,ename varchar2(20));

Create table emp_dup (empno number references emp(empno),ename varchar2(20) primary key);

alter table emp add constraint ename_fk foreign key(ename) references emp(ename);

My Question is How to insert the data into these two tables?

Its a *"Circular Reference"* Concept.

Please ...

Thank You!!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 20 2012
Added on Jul 23 2012
16 comments
998 views