DBAsupport.com Forums - Powered by vBulletin
Results 1 to 3 of 3

Thread: what is the command to disable foreign key?

  1. #1
    Join Date
    Jan 2002
    Posts
    28
    Hi,

    Does anyone know what is the command to disable foreign key constraint? Thanks.

  2. #2
    Join Date
    Mar 2001
    Posts
    71
    alter table "table1" disable constraint "constraint_name";

  3. #3
    Join Date
    Sep 2001
    Location
    NJ, USA
    Posts
    1,287
    alter table modify constrain FK_CONST disable [validate/nivalidate].

    Remember:
    If you disable a unique or primary key constraint that is using a unique index, Oracle drops the unique index.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Click Here to Expand Forum to Full Width