Red Gate forums :: View topic - New user ?? about production migration best practices
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product support center
SQL Source Control 3
SQL Source Control 3 forum

New user ?? about production migration best practices

Search in SQL Source Control 3 forum
Post new topic   Reply to topic
Jump to:  
Author Message
bobprobst



Joined: 27 Jul 2012
Posts: 2

PostPosted: Thu Aug 16, 2012 4:34 am    Post subject: New user ?? about production migration best practices Reply with quote

Using TFS as our repository.

So I've been developing away and checking my code in periodically but now I want to push one or two of those changes out to Prod.

I can generate a migration script based on change sets but what I really want is a change script for just one or two objects not the whole set of changes that I've checked in. So change set 1 changes objects A, B and C. Change set 2 changes object B further and change set 3 changes objects A and D.

But I really just want to push my changes for objects B and C.

Is there an easy way to do this using SQL Source Control Migrations or do I need to use SQL Compare on objects B & C?

And if I use SQL Compare, can I check the script that's generated into source control without saving it to my local check out folder and manually checking it into my migration scripts folder in TFS?

Or do I generate a Migration script for all 3 change sets and manually edit it? Which seems like it's error prone.

Or, am I approaching this all wrong and should only be checking in changes that I want to move to production and then I just have the one change set to run a migration script for?


Hope that's clear!
Thanks for any help you can offer.
Back to top
View user's profile Send private message
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