Can we enable or disable particualar "Execute SQL Task" ?

  • Hi All

    I have created a package to track the log of SysSsisLog table into another table. I have used the stored procedure to maintain the log. What I want is to enable or disable this sql task from another task by passing parameter 0- LOG, 1- NO LOG. Can it be possible?

    Please let me know if there is any work around. Thanks in advance 🙂

    Regards,

    Nikhil

  • You can use precedence constraints in SSIS and have an expression over it to do this.

    Good Luck 🙂 .. Visit www.sqlsaga.com for more t-sql code snippets and BI related how to articles.

  • Thank you 🙂

    Can it be possible for particular task./package?

  • Nikku (4/24/2014)


    Thank you 🙂

    Can it be possible for particular task./package?

    Yes. You might want to review this article by Andy Leonard from the Stairways series on SSIS. It discusses how to set up variables and use expressions in precedence constraints.

    Advanced SSIS Workflow Management – Level 8 of the Stairway to Integration Services[/url]

    Edit: Correct a misspelling

  • Thank you Sir 🙂 it helps me a lot.

Viewing 5 posts - 1 through 4 (of 4 total)

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