Re: [SQL] TRIGGERed INSERTS

2002-10-18 Thread Martin Crundall
Thanks Tom. The work-around was to create the "script" in SQL -- using SELECT INTO statements to capture the key values -- instead of creating the "script" as a stored procedure. Seems like a "transaction" issue. Having transactions occur at the SELECT level is very intuitive and a really nice,

Re: [SQL] TRIGGERed INSERTS

2002-10-18 Thread Tom Lane
"Martin Crundall" <[EMAIL PROTECTED]> writes: >Some of the data tables have "AFTER INSERT" TRIGGERs on them that, in > turn, insert some subordinate items into parallel data tables and the > central pointer/ordering table. It looks to me like AFTER triggers are fired upon return to the main lo