trigger AFTER INSERT
am 12.08.2010 16:58:53 von josiperez3t--0016367b6c30caea42048da19a18
Content-Type: text/plain; charset=ISO-8859-1
Hi,
I think that I have a conceptual problem and I hope anyone could help me.
If I write a trigger AFTER INSERT and I have one error in this trigger, the
record (that I think was already inserted) is not inserted.
Example:
INSERT INTO tableX
trigger sumRecords AFTER INSERT under tableX to accumulate the records
inserted by hour
if there is an error in the commands executed for this record,
not in the tableX
If this occurs in a trigger BEFORE INSERT, I can understand, but, if it is
AFTER INSERT, I believe that the record is already inserted.
What is wrong on it?
Thanks in advance
Josi Perez
--0016367b6c30caea42048da19a18
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Hi,
I think that I have a conceptual problem and I hope anyone could=
help me.
If I write a trigger AFTER INSERT and I have one error in =
this trigger, the record (that I think was already inserted) is not inserte=
d.
Example:
INSERT INTO tableX <record1>
trigger sumRecords AF=
TER INSERT under tableX to accumulate the records inserted by hour
if th=
ere is an error in the commands executed for this record, <record1> i=
s not in the tableX
If this occurs in a trigger BEFORE INSERT, I can understand, but, if it=
is AFTER INSERT, I believe that the record is already inserted.
What is=
wrong on it?
Thanks in advance
Josi Perez
ility: hidden; display: inline;" id=3D"avg_ls_inline_popup">
--0016367b6c30caea42048da19a18--