Create Script with dependent objects SQL Server 2005

  •  Hi,

    I need to script a view but with dependent objects. The view has a lot of user defined functions and manually creating the script is a pain.

    There is a way to do it in SQL Server (2000) Enterprise manager where one right clicks the view --> All Tasks --> Generate Script and then Check

    "Generate Scripts for all dependent objects" in the Formatting tab.

    The db i am using is on SQL Server 2005.

    Is there a equivalent way to do this in SQL Server 2005 Management Studio ?

     

     

    regards,

    Rohan Wali


    Regards,

    Rohan Wali

    wali.rohan@gmail.com.(nospam).

  • Yep,

    Right click on the database click, tasks->generate script, on the choose script options change "Generate Script for Dependant Objects".

     

    Regards

    Neil

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

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