RE: ENABLING FOREIGN KEY CONSTRAINTS

2001-09-26 Thread Jacques Kilchoer
Title: RE: ENABLING FOREIGN KEY CONSTRAINTS > -Original Message- > From: Harvinder Singh [mailto:[EMAIL PROTECTED]] > > When we do alter table table_name disable primary key > cascade;..it also > disable all the foreign key constraints > but when we

RE: ENABLING FOREIGN KEY CONSTRAINTS

2001-09-26 Thread Jack C. Applewhite
Harvinder, Spool this to a file, then run it after re-enabling your PK. BTW, you could do the reverse of this to disable the FKs, too. Select 'Alter Table ' || Table_Name || ' Enable Constraint ' || Constraint_Name || ' ;' >From User_Constraints Where R_Constraint_Name =

ENABLING FOREIGN KEY CONSTRAINTS

2001-09-26 Thread Harvinder Singh
Hi, When we do alter table table_name disable primary key cascade;..it also disable all the foreign key constraints but when we after do alter table table_name enable primary key..it does not enable foreign keys is there any syntax that we can enable all th foreign keys refere

enabling foreign key constraints

2001-09-26 Thread Harvinder Singh
Hi, When we do alter table table_name disable primary key cascade;..it also disable all the foreign key constraints but when we after do alter table table_name enable primary key..it does not enable foreign keys is there any syntax that we can enable all th foreign keys refere