how to check DTS/SSIS packages and any associated jobs for particuler database in a server

  • Hi

    i am planning to deattch the database .so first i am planning to disable the all the jobs.

    how to check DTS/SSIS packages and any associated jobs for particuler database in a server .

    any any one one help on this

  • Check this one

    USE [msdb]

    GO

    SELECTj.job_id,

    j.name,

    js.step_id,

    js.command,

    j.enabled

    FROMdbo.sysjobs j

    JOINdbo.sysjobsteps js

    ONjs.job_id = j.job_id

    WHEREjs.command LIKE N'%SSIS%' or js.command LIKE N'%DTS%'

    GO

    Thank You,

    Best Regards,

    SQLBuddy

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply