Share via

ssis transfer sql server object task.

Heisenberg 266 Reputation points
2021-09-09T15:46:42.003+00:00

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 Integration Services
SQL Server | Other
SQL Server | Other

Additional SQL Server features and topics not covered by specific categories

0 comments No comments

2 answers

Sort by: Most helpful
  1. ZoeHui-MSFT 41,551 Reputation points
    2021-09-13T06:16:37.223+00:00

    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

    Was this answer helpful?

    0 comments No comments

  2. Olaf Helper 47,621 Reputation points
    2021-09-10T05:32:47.317+00:00

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

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.