Subject | Re: [firebird-support] function AT() on Firebird SQL language |
---|---|
Author | Helen Borrie |
Post date | 2008-01-31T03:06:26Z |
At 01:31 PM 31/01/2008, you wrote:
...
./heLen
>Dear All,Why not just use the standard SQL predicate CONTAINS [or CONTAINING] ?
>
>I need a function to check a string whether it exist
>or not in another string variable. Usualy in another
>programming language this function called AT().
> because I need it to validate a routine in insert and update trigger.if (new.quotation CONTAINS ('SOMETHING UNDESIRABLE')) then
...
>Any comment is greatly appreciated.The search argument is case-insensitive.
./heLen