cascade constraint
DBAsupport.com Forums - Powered by vBulletin
Results 1 to 2 of 2

Thread: cascade constraint

  1. #1
    Join Date
    Mar 2001
    Posts
    82

    Talking

    SQL> alter table rnny drop column
    rnnno_id casde constraint;

    What is the purpose of the cascade constraint
    clause in this statement?

  2. #2
    Join Date
    Dec 2000
    Location
    Ljubljana, Slovenia
    Posts
    4,439
    If the column you intend to drop belongs to any PK or UK constraint, the CASCADE CONSTRAINTS clause will drop any foreign key constraint (defined on this table as well as on any other table) that reference the column to be dropped. It also drops any check constraints on this table that reference the column to be dropped.
    Jurij Modic
    ASCII a stupid question, get a stupid ANSI
    24 hours in a day .... 24 beer in a case .... coincidence?

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