Can refactor help me assign some schemas?

steve@powell.net[email protected] Posts: 8 Bronze 1
edited November 24, 2010 5:26AM in SQL Refactor Previous Versions
I have a DB that has obviously grown up from SQL2000. Its now far more complex than it originally was, lots of extra tables and I would like to break the tables and stored procs out into separate schemas.

Can I use refactor to do this?

The table/stored proc names will stay the same but stuff will be moved from dbo. to product. and import. etc...

Comments

  • Thanks for your post.

    Yes you can do that by using 'Smart Rename' functionality of SQL Refactor.

    In Screen 1 of 'Smart rename wizard' where you can specify the new name instead of doing that you change the 'Schema' and proceed with the wizard and it will generate the update script for you.

    Let me know if this answers your question and solves the purpose.

    For more information on Smart rename functionality go through this article: Click Here
    Anuradha Deshpande
    Product Support
    Redgate Software Ltd.
    E-mail: [email protected]
Sign In or Register to comment.