mssql server migration

Status
Not open for further replies.
wow its been so long since I've felt the need to post I think my account was deleted...

ok long story short: I have a 6 month long project that gets delivered at the end of the month, and my huge weak point is database admin/management and I am worried about looking like an idiot :(

there is:
A) mssql2000 existing production server I need the actual data from
b) mssql2005 development/test server where the database tables/sp/views/indexes have had a few columns added here and there, tweaks to a few other columns. nothing big and should still be compatible.
C) the mssql2005 new production server I need to migrate the db's from the dev server and the data from the existing production server.

I have to assume there is a better way of melding these 2 entities than copying over the existing production server and going through by hand all the tables and such and making all the individual changes but I think my chances of missing something are pretty high.

can anyone point me in the right direction on how to look professional with this step?

big thanks in advance.
 
I usually handle DB change management using the Visual Studio Team System product (Red Gate has similar functionality). You can import your dev database into a Visual Studio Database project which will examine the database schema and model the entire database as sql scripts. Then you can do a database compare against your live database and it will generate change scripts to modify the prod database to match your dev schema. That will handle getting the schema's in sync.
 

ronelson

Ars Legatus Legionis
21,399
Subscriptor
b) mssql2005 development/test server where the database tables/sp/views/indexes have had a few columns added here and there, tweaks to a few other columns. nothing big and should still be compatible.
You, erm, did document all the variances from your production server, correct? Thus in a worst case you should not need to go "through by hand all the tables and such and making all the individual changes" but would be have or be able to build the proper SQL commands to bring a copy of the production DB up to par with the dev DB. Right?

Without that, it seems to be a horrible idea, even if you get a tool to automate it. Especially when you encounter some problem with it.


Also, this should be moved to the Server Room or the MS forum.
 
Status
Not open for further replies.