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!

Can multiple multiple conditions be given within check constraint

966083Oct 10 2012 — edited Oct 11 2012
Hi,

I have am agent table where city and commission is there. While inserting records, I need to enforce a rule that if city is London then commission cannot be less than 300. Can it be done using check constraints? I have been able to do it using PL/SQL. Just want to know if it could be done using check constraints. If yes, then need the syntax please.
This post has been answered by 812975 on Oct 10 2012
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 8 2012
Added on Oct 10 2012
9 comments
2,744 views