find update script in all packages in ssis

Shambhu Rai 1,411 Reputation points
2023-06-12T23:19:30.52+00:00

HI Expert,

how to find update script with specific table name in list of all packages in ssis

i.e. any script with update command in all packages

SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
3,063 questions
SQL Server Integration Services
SQL Server Integration Services
A Microsoft platform for building enterprise-level data integration and data transformations solutions.
2,703 questions
SQL Server Migration Assistant
SQL Server Migration Assistant
A Microsoft tool designed to automate database migration to SQL Server from Access, DB2, MySQL, Oracle, and SAP ASE.
568 questions
SQL Server | Other
{count} votes

3 answers

Sort by: Most helpful
  1. ZoeHui-MSFT 41,491 Reputation points
    2023-06-13T06:00:06.06+00:00

    Hi @Shambhu Rai,

    I don't think you could get the code without open the script task component.

    So we could not get table name in list of all packages unless you open the script task and then record it which means you need to do that manually.

    Regards,

    Zoe Hui


    If the answer is helpful, please click "Accept Answer" and upvote it.

    0 comments No comments

  2. Olaf Helper 47,441 Reputation points
    2023-06-13T06:01:08.9966667+00:00

    Right-mouse click on the package => "View code"

    You get the package as XML code, where you can search for keywords like "UPDATE".


  3. Raksha Chourasia 75 Reputation points
    2023-06-13T06:27:00.04+00:00

    @Shambhu Rai,
    Please try using these specific steps for updating scripts:

    You can go to packages:

    1)Select packages and click on properties.

    2)Under properties there is a tab as "script"

    3)Under the script tab there is a dropdown you can search for "Update"

    4)In Table, you can enter the table name where you want to update and click on "OK"


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.