Red Gate forums :: View topic - Can refactor help me assign some schemas?
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Refactor 1
SQL Refactor 1 forum

Can refactor help me assign some schemas?

Search in SQL Refactor 1 forum
Post new topic   Reply to topic
Jump to:  
Author Message
steve@powell.net



Joined: 16 Sep 2009
Posts: 5

PostPosted: Tue Nov 23, 2010 5:45 pm    Post subject: Can refactor help me assign some schemas? Reply with quote

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...
Back to top
View user's profile Send private message
Anu Deshpande



Joined: 20 Apr 2009
Posts: 685
Location: Cambridge

PostPosted: Wed Nov 24, 2010 11:26 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group