Subject | Re: [firebird-support] Delete trigger trickery |
---|---|
Author | Dmitry Sibiryakov |
Post date | 2005-08-29T05:59:31Z |
On 27 Aug 2005 at 5:11, sdbeames wrote:
if (exists(select 1 from JOBS where JOBS.LVL = old.LVL)) then
--
SY, Dimitry Sibiryakov.
>Is there anything wrong with this trigger....I'm afraid you've encountered a bug in FB parser.
>CREATE TRIGGER LEVELS_TG_BD FOR LEVELSTry this line:
> BEFORE DELETE
>AS
>begin
> if (exists(select 1 from JOBS where LVL = old.LVL)) then
if (exists(select 1 from JOBS where JOBS.LVL = old.LVL)) then
--
SY, Dimitry Sibiryakov.