Article View: borland.public.interbase.sql
Article #11238Re: trigger error
From: Rafael Vacas
Date: Thu, 28 Nov 2002 09:28
Date: Thu, 28 Nov 2002 09:28
26 lines
1394 bytes
1394 bytes
> I've trying to create the trigger below w/o success... I am using ib6 and > ibconsole. > > thanks in advance > > error: Dynamic SQL Error > SQL error code = -104 > Token unknown - line 3, char 25 > AS > > ---------------- > SET TERM !!; > CREATE TRIGGER TR_TROCA_DEPTO FOR CARGO ACTIVE BEFORE UPDATE > AS > DECLARE VARIABLE N_CARG AS INTEGER; > BEGIN > IF (OLD.DEPTO <> NEW.DEPTO) THEN > > *** END !! > > Rafael A CoruοΏ½a
Technical Details
Message-ID:
<3de5e16c$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-04!supernews.com!news-out.visi.com!hermes.visi.com!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3de5dbae@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 114a0e,b59826838ffc35f X-Google-Attributes: gid114a0e,public X-Google-ArrivalTime: 2002-11-28 01:39:09 PST From: "Rafael Vacas" <rvacas@bit.es> Newsgroups: borland.public.interbase.sql References: <3de5dbae@newsgroups.borland.com> Subject: Re: trigger error Date: Thu, 28 Nov 2002 10:28:49 +0100 Lines: 29 Organization: Bit7 S.L. X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 NNTP-Posting-Host: 213.98.123.244 Message-ID: <3de5e16c$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1038475628 213.98.123.244 (28 Nov 2002 01:27:08 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-04!supernews.com!news-out.visi.com!hermes.visi.com!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail