Home » Server Options » Text & interMedia » Multiple options in Check Constraint
Multiple options in Check Constraint [message #76105] Thu, 22 July 2004 22:02 Go to next message
Messages: 17
Registered: February 2004
Junior Member
Hi friends,

 I m trying to put a check constraint on a particular column say Emp_Name of Emp table and I want it(Emp_Name) should start with either 'P' or 'S'. How will I able to put this condition thru a Check Constraint on this column.

    Thnx in adv.


Re: Multiple options in Check Constraint [message #76146 is a reply to message #76105] Sun, 28 November 2004 09:07 Go to previous message
Just John
Messages: 69
Registered: November 2004
this code provides the (an) answer.

FROM emp
WHERE SUBSTR(Emp_Name,1,1) IN ('S','P');
Previous Topic: How to use & in contains keyword in context index
Next Topic: Oracle Context - Solution
Goto Forum:

Current Time: Wed May 12 01:04:21 CDT 2021