Subject | Re: "NEW." "OLD." outside of a trigger |
---|---|
Author | Laszlo KOVACS |
Post date | 2005-10-26T07:44:32Z |
Thank You all for Your help!
--- In firebird-support@yahoogroups.com, "Martijn Tonies"
<m.tonies@u...> wrote:
--- In firebird-support@yahoogroups.com, "Martijn Tonies"
<m.tonies@u...> wrote:
>procedure.
> Hi,
>
> > I want to log every transaction on some tables, with one single
> > The procedure will be called like this:(1) -
> > execute procedure naploz(<TABLENAME varchar(20)>,<TRANS.TYPE char
> > 'I' for insert, 'u' for update, 'd' for delete>)MS SQL
> > How can I retrieve the OLD.<FIELDNAME> and NEW.<FIELDNAME> values?
>
> You cannot. These are ONLY valid in a trigger.
>
> Instead of re-inventing the wheel on logging database changes, why
> not take a look at our database logging tool IB LogManager?
> www.upscene.com
>
> With regards,
>
> Martijn Tonies
> Database Workbench - tool for InterBase, Firebird, MySQL, Oracle &
> Server
> Upscene Productions
> http://www.upscene.com
> Database development questions? Check the forum!
> http://www.databasedevelopmentforum.com
>