Subject | Re: [firebird-support] SQL SERVER to FIREBIRD. |
---|---|
Author | Milan Babuskov |
Post date | 2004-03-01T14:43:18Z |
akestion wrote:
check (substring(typeAvion from 1 for 1) between 'A' and 'Z')
HTH
--
Milan Babuskov
http://fbexport.sourceforge.net
> Can you tell me how to declare a check constraint such as :If all else fails, you can use SUBSTRING in a little awkward way:
>
> PRIMARY KEY check(typeAvion like '[A-Z]%'),
check (substring(typeAvion from 1 for 1) between 'A' and 'Z')
HTH
--
Milan Babuskov
http://fbexport.sourceforge.net