Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Paolo Mancuso — — source: Informix-list mailing list archive (1991-1998)
At 13.27 12/02/97 -0800, you wrote:
}Hi,
}
}I execute a trigger to log the record that is being updated on table A --- 1
}
}I also execute a trigger when I insert a record on table A. This logs
}the record. --- 2
}
}My question is can I do an update on a certain field to the record that is
}being inserted on Table A in the form of a stored procedure when I am
}executing the trigger stated under 2. I want to update a field in Table A
}for the record that is being inserted.
}
}My problem is during an insert I have to update the record and also log
}the record. Is there any other way to do this other than the trigger?
}
}Please email me directly
}
}Sham
}smvaidya@auto.rockwell.com
}
I have a similar problem.
With an INSERT I put a record R in table A; to complete the insert of that
record R, I use the stored procedure S (that is activated by a trigger T
during the INSERT) that updates some fields of record R.
Informix (OnLine Dynamic Server - Version 7.1) does not allow me to do this.
Does anybody know a way to do this with a similar use of triggers + stored
procedure or in some other way?
Thanks for your attention
_____________________________________________________________________________
Paolo Mancuso - Gesi Srl - Via Rodi, 32 - 00195 ROMA - Tel. + 39 6 39743413
_____________________________________________________________________________
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.