Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Generating Foreign Keys
Hi all
I have a set of tables from a legacy system, that have primary keys but no foreign keys. It seems to me that it should be possible to write some plsql to generate the foreign keys by taking the column names of each primary key and match them to the column names in other tables. Have any of you done this or better still got a script you might share with me?
Thanks in advance
Oli Received on Tue Dec 07 1999 - 02:23:26 CST
![]() |
![]() |