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

Thread: constraint syntax

  1. #1
    Join Date
    Apr 2001
    Location
    Berlin
    Posts
    65

    Red face

    Can any one provide me with the syntax to Create a unique index novalidate

  2. #2
    Join Date
    May 2001
    Location
    San Francisco, California
    Posts
    511
    'novalidate' is a constraint state and you need create a constraint on the table and enable it in a novalidate state:

    alter table junk
    add constraint junk_user_id UNIQUE(user_id) enable novalidate;
    Remember the Golden Rule - He who has the gold makes the rules!
    ===================
    Kris109
    Ph.D., OCP 8i, 9i, 10g, 11g DBA

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