Subject | Re: [firebird-support] Re: Retrieving field new and old value using variable |
---|---|
Author | Helen Borrie |
Post date | 2006-07-18T08:03:41Z |
At 03:37 PM 18/07/2006, you wrote:
work. FTR, triggers don't operate on SELECT statements so, even
assuming one had gone through an excruciating process of getting all
of the metadata info about each column, in order to construct a valid
DML statement, one would still be going through a revolving door of
recursion trying to perform an EXECUTE STATEMENT DML on the current row...
./heLen
>So how do you doYou can't. I retract my comment about Alexandre's theory. It can't
>
>IF OLD.ID <> NEW.ID THEN ...
>
>Where ID is the returned value in the current iteration of the for
>select?
work. FTR, triggers don't operate on SELECT statements so, even
assuming one had gone through an excruciating process of getting all
of the metadata info about each column, in order to construct a valid
DML statement, one would still be going through a revolving door of
recursion trying to perform an EXECUTE STATEMENT DML on the current row...
./heLen