Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Disable Validate On A Constraint

2776946May 10 2015 — edited May 11 2015

So I know this disables the constraint. What does the vallidate part do?

Validates that existing data still adheres to the constraint (doesn't seem needed), or does it validate incoming data still conforms to the constraint (then why would you disable the constraint..).

Wondering what the use of disable validate does.

I know disable novalidate is the default, same as disable, which basically simply disables the constraint.

an example:

alter table table_1       DISABLE VALIDATE     primary key ;

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 8 2015
Added on May 10 2015
2 comments
2,710 views