Can refactor help me assign some schemas?

steve@powell.netsteve@powell.net Posts: 6 Bronze 2
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

  • Anu DAnu D Posts: 876 Silver 3
    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: support@red-gate.com
Sign In or Register to comment.