syntax to enable novalidate constraint
DBAsupport.com Forums - Powered by vBulletin
Results 1 to 2 of 2

Thread: syntax to enable novalidate constraint

  1. #1
    Join Date
    Jan 2001
    Posts
    157

    Angry

    Can anybody tell me whats wrong with my syntax?

    SQL> alter table rugby add (constraint uk_rugby unique
    (goalie,score) using index tablespace australian_rugby_indx
    storage (initial 512M next 512M minextents 2 maxextents 100000
    pctincrease 1 freelists 6 )) enable novalidate;
    pctincrease 1 freelists 6 )) enable novalidate

    ERROR at line 4:
    ORA-00905: missing keyword

    syntax to enable novalidate constraint

  2. #2
    Join Date
    May 2001
    Location
    San Francisco, California
    Posts
    510
    Originally posted by clinton


    SQL> alter table rugby add (constraint uk_rugby unique
    ........................................^ remove this (
    (goalie,score) using index tablespace australian_rugby_indx
    storage (initial 512M next 512M minextents 2 maxextents 100000
    pctincrease 1 freelists 6 )) enable novalidate;
    ....................................^ remove this )

    I tried a simple example and it works:


    1 alter table junk
    2* add constraint junk_uk UNIQUE (col1) enable novalidate
    SQL> /

    Table altered.


    [Edited by kris109 on 03-04-2002 at 05:34 PM]
    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