Subject | Re: [firebird-support] Alter Domain Syntex |
---|---|
Author | Helen Borrie |
Post date | 2003-10-31T15:00:49Z |
At 02:51 PM 31/10/2003 +0000, you wrote:
the domain, you can't add another one. You can have multiple CHECK
conditions but they all have to be defined at once.
If you don't have one already, you can do
ALTER DOMAIN dm_MyDomain
add constraint CHECK (value in (1,2,3,4,5,6));
h
>what is the correct syntex for this? I've tried a number of differentThis needs a CHECK constraint. If you already have a CHECK constraint on
>ways:
>
>ALTER DOMAIN dm_MyDomain value in (1, 2, 3, 4, 5, 6)
the domain, you can't add another one. You can have multiple CHECK
conditions but they all have to be defined at once.
If you don't have one already, you can do
ALTER DOMAIN dm_MyDomain
add constraint CHECK (value in (1,2,3,4,5,6));
h