Logging runtime inserted records in SSIS.

Roshan Satyam 21 Reputation points
2022-01-20T19:02:10.943+00:00

Suppose I have a dtx package which simply loads data from one oledb source to another. I need to log the number of records getting inserted in txt file at run time i.e. while the package is running, each time I open the log file I can see the updated number of records that has been inserted into destination table.

SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,702 questions
SQL Server Other
0 comments No comments
{count} votes

Accepted answer
  1. ZoeHui-MSFT 41,491 Reputation points
    2022-01-21T02:52:02.583+00:00

    Hi @Roshan Satyam ,

    You can use the row count component to track the number of records and then use the variable in the custom logging.

    row-count-transformation

    You may also refer to this blog which has provided detailed steps.

    add-custom-logging-ssis-package

    Regards,

    Zoe


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    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.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

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