February 15, 2005 at 6:52 am
Does anyone know whether using BCP to import data will fire FOR INSERT triggers?
Five Stones IT Consulting and Development
February 15, 2005 at 10:19 am
From BOL
All bulk copy operations (the BULK INSERT statement, bcp utility, and the bulk copy API) support a bulk copy hint, FIRE_TRIGGERS. If FIRE_TRIGGERS is specified on a bulk copy operation that is copying rows into a table, INSERT and INSTEAD OF triggers defined on the destination table are executed for all rows inserted by the bulk copy operation. By default, bulk copy operations do not execute triggers.
These considerations apply to bulk copy operations that specify FIRE_TRIGGERS:
February 15, 2005 at 11:35 am
Thank-you!
That's perfect.
Five Stones IT Consulting and Development
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply