[dba-SQLServer] Insert trigger question

Joe Rojas JRojas at tnco-inc.com
Fri Jun 3 12:25:39 CDT 2005


If I have 20 records to insert into a table, in SS7, and I do it iteratively
will my insert trigger execute 20 times?

Currently the trigger uses a cursor based off of the inserted table and
fetches 1 record at a time but I'm thinking that if I perform the insert
task as stated above that I don't need a cursor because there is only on
record in the inserted table anyway.
Am I right?

Thanks!
JR




This electronic transmission is strictly confidential to TNCO, Inc. and
intended solely for the addressee. It may contain information which is
covered by legal, professional, or other privileges. If you are not the
intended addressee, or someone authorized by the intended addressee to
receive transmissions on behalf of the addressee, you must not retain,
disclose in any form, copy, or take any action in reliance on this
transmission. If you have received this transmission in error, please notify
the sender as soon as possible and destroy this message. While TNCO, Inc.
uses virus protection, the recipient should check this email and any
attachments for the presence of viruses. TNCO, Inc. accepts no liability for
any damage caused by any virus transmitted by this email.



More information about the dba-SQLServer mailing list