Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8974767
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T18:44:36+00:00 2026-06-15T18:44:36+00:00

If i want to save information/log when some event accour in a SISS package,

  • 0

If i want to save information/log when some event accour in a SISS package, which way is the better?

  1. use the SSIS logging – set provider type to SQL Server and selecting the events to be stored in SQL Server.
  2. use the Event Handlers on the package/task and use an execute sql task to save information to a table in SQL Server.
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T18:44:37+00:00Added an answer on June 15, 2026 at 6:44 pm

    Better is subjective. Only by knowing your requirements can you determine whether one is better than the other.

    SSIS Logging

    This is an easy, out of the box, mechanism for tracking package progress. The table already exists in SQL Server and is copied down to the target catalog if you’re logging to something besides msdb (yes please). If the information it records for the events you care about match your requirements, then it’s a no-brainer choice.

    Event Handlers

    The event handler route provides more flexibility on the information that is recorded. In fact, if you have needs, you can have a full blown work flow within an event handler (I highly recommend against that approach) with an event handler. The downside to using Event Handlers to record stuff is you’ll need to set it up everywhere. Copy & Paste is less flaky in 2012 but any change to your logging would have to be perpetuated throughout all your packages.

    For the longest time, we used a “both” approach for recording package information. Our Logging went to SQL Server and we recorded OnError, OnTaskFailed, OnWarning, OnInformation, OnPreExecute, OnPostExecute. This provided us with more information than we generally needed but it was easily accessible so we kept it.

    We also had an OnTaskFailed event wired up to send email to an on-call pager detailing information about the failure. This worked fine when we had 3 packages running daily. When we got to the point of having hundreds of packages running… Ick.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a question about my DB design. I want to save some information
I want to save Image and some other information to databse in my asp.net
I want to save the login information of Facebook after closing the application. So
When a new user is created, I want to retain some of the information
I am working on a Chrome extension that needs to save some information (tabs
I'm planning on implementing some in-app purchase items and I want to save purchase
I have a Scrapy project that I want to use to scrape some websites.
I want save the username and password when user login, and I added the
i want to save a variable to be global variable on all screens i
I want to save values as an ArrayList of double in a file. Whenever

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.