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
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 =
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
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