ssis transfer sql server object task.

Heisenberg 261 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
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,278 questions
SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,510 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Olaf Helper 42,926 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.

    0 comments No comments

  2. ZoeHui-MSFT 34,996 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

    0 comments No comments