Click here to Skip to main content
15,886,110 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I am using a C# app via Visual studio 2010 that used SQLServer08.
I am trying to come up with a simple way to manage DB schema changes. Manually changing everything is not an option as everything should be fully automated to compare and modify the databases. I was looking at the Microsoft.SqlServer.Management.Smo namespace and this would probably work for me if i coded everything manually, but i want to know if there is a way to go about this without reinventing the wheel. It seems like a pretty standard industry problem. Any suggestions?
Posted
Comments
ConHulio 23-May-12 11:56am    
try looking at VSDBCMD.exe, its very usefull - i have found it to be productive when comparing 2 databases for QA sync scripting.

BCP utility http://msdn.microsoft.com/en-us/library/ms162802%28v=sql.105%29.aspx
VSTSDB http://msdn.microsoft.com/en-us/library/dd193283.aspx

other Utilities
Utilities http://technet.microsoft.com/en-US/library/ms162816%28v=sql.90%29


I have spent last 2 days researching RedGates SQL Compare and Visual Studio Compare tool. Both are based on Version CI, not Ticket CI. I will be creating a specialised tool for Ticket CI for database schema comparison and deployment.

1 solution

I use the Visual Studio 2010 DataBase project.
This is actually very easy to use and lets you schema compare the database with the project and the other way around.
It also delivers a Data Comparison tool that lets also sync the data on the database.

I tried to find a very simple tutorial about this on the web and I found this:

VS 2010 Database Project Introduction[^]

I think this may be a good start point.

Cheers!
Alex
 
Share this answer
 
v2
Comments
Member 8009155 17-Jun-11 16:24pm    
you linked this question. What were you trying to link?
AlexCode 17-Jun-11 17:58pm    
Eish... sorry mate, I just updated the link.
The browser freaked out when I was posting the answer and I ended up messing the links.
Cheers!
Alex

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900