question

SQLServerBro avatar image
0 Votes"
SQLServerBro asked Zoehui-MSFT answered

ssis transfer sql server object task.

In ssis transfer sql server object task if i set copy triggers option to "true" does it execute triggers while data is being copied or it only creates trigger after data copy is done and no trigger execution happens while data is being transferred?

sql-server-generalsql-server-integration-services
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

OlafHelper-2800 avatar image
0 Votes"
OlafHelper-2800 answered

All DDL / objects incl. trigger are transferred & created first, before it copy data.
The trigger don't fire when you use a BULK INSERT.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Zoehui-MSFT avatar image
0 Votes"
Zoehui-MSFT answered

Hi @SQLServerBro,

No trigger execution will happen while data is being transferred.

I tested with a trigger of insert and update.

After the task completed, the trigger did not execute.

You may do a simple test in your environment for a try.

Regards,

Zoe


If the answer is helpful, please click "Accept Answer" and upvote it.

Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Hot issues October

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.