check constraint**
From: RM (m_r1824_at_yahoo.co.uk)
Date: 03/07/04
- Next message: Uri Dimant: "Re: check constraint**"
- Previous message: RM: "Re: datatype of PK **"
- Next in thread: Uri Dimant: "Re: check constraint**"
- Reply: Uri Dimant: "Re: check constraint**"
- Reply: Vishal Parkar: "Re: check constraint**"
- Reply: RM: "Re: check constraint**"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 07 Mar 2004 10:41:04 +0430
Hi
Can I refer the range of values in check constraint
to a table column values instead of constant values like
below?
CONSTRAINT CK_emp_id CHECK (emp_id LIKE
'[A-Z][A-Z][A-Z][1-9][0-9][0-9][0-9][0-9][FM]' OR
emp_id LIKE '[A-Z]-[A-Z][1-9][0-9][0-9][0-9][0-9][FM]')
Thanks
-- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/
- Next message: Uri Dimant: "Re: check constraint**"
- Previous message: RM: "Re: datatype of PK **"
- Next in thread: Uri Dimant: "Re: check constraint**"
- Reply: Uri Dimant: "Re: check constraint**"
- Reply: Vishal Parkar: "Re: check constraint**"
- Reply: RM: "Re: check constraint**"
- Messages sorted by: [ date ] [ thread ]