SSIS Package running status

 

Use SSISDB

GO

select

    execution_id

    , folder_name

    , project_name

    , package_name

    , environment_name

    , executed_as_name

    , start_time

    , end_time

    , CASE status WHEN 1 THEN 'Created'

        WHEN 2 THEN 'Running'

        WHEN 3 THEN 'Cancelled'

        WHEN 4 THEN 'Failed'

        WHEN 5 THEN 'Pending'

        WHEN 6 THEN 'Ended Unexpectedly'

        WHEN 7 THEN 'Succeeded'

        WHEN 8 THEN 'Stopping'

        ELSE 'Completed' END AS Status

    , caller_name

    , process_id

    , server_name

from internal.execution_info

Comments

  1. Really good information to show through this blog. I really appreciate you for all the valuable information that you are providing us through your blog.

    ReplyDelete
  2. The information you shared was useful. Thank you for taking the time to organize it.

    ReplyDelete
  3. I appreciate the time you spent finding that information

    ReplyDelete

Post a Comment

Hi User,
Thanks for visiting My Blog and please provide your valuable feedback and subscribe for more updates. Please don't post any spam content or comments.
Thank You

Popular Posts

Failed to execute the package or element. Build errors were encountered

Exception deserializing the package "The process cannot access the file because it is being used by another process."

Temporary enable and disable SSRS subscriptions