all groups > sql server programming > february 2006 >
You're in the

sql server programming

group:

Keeping DB schemas synched


Keeping DB schemas synched querylous
2/18/2006 2:41:02 PM
sql server programming:
Hi - what's the best (preferably open source or inexpensive) tool for
identifying differences (tables, columns, types, etc) between a development
database and a production one, and applying dev changes to production
automatically?

Thanks,

Re: Keeping DB schemas synched querylous
2/18/2006 3:35:27 PM
Thanks Andrew- I fear I do a lot of things that aren't such good ideas when
developing! With luck, the right tool will have options to select the changes
I'd like to apply, and then apply them.

Thanks for the rec,

Re: Keeping DB schemas synched Kevin3NF
2/18/2006 5:29:19 PM
2nd the vote for red gate...I've used SQL COmpare and Data Compare for
several years to keep my schems and lookup data intact

Free 14 day trial, less than $300 per tool. VERY hard to beat

--
Kevin Hill
3NF Consulting
www.3nf-inc.com/NewsGroups.htm
www.expertsrt.com - not your average tech Q&A site



[quoted text, click to view]

Re: Keeping DB schemas synched Andrew J. Kelly
2/18/2006 6:23:41 PM
I don't think it is ever a good idea to make changes to a production system
"automatically". But the compare tool from www.red-gate.com is inexpensive
and should do what you are after.

--
Andrew J. Kelly SQL MVP


[quoted text, click to view]

Re: Keeping DB schemas synched Andrew J. Kelly
2/19/2006 8:56:02 AM
Developing is one thing, production is quite another. Yes this tool will
generate scripts for the changes but no matter how good the tool all scripts
should be tested before being applied to production.

--
Andrew J. Kelly SQL MVP


[quoted text, click to view]

Re: Keeping DB schemas synched JT
2/20/2006 10:56:13 AM
You should be checking your development and production scripts into some
type of source version control system. For example, Visual Source Safe has
an option to compare two projects and list files that are different, and it
has a feature for comparing two versions of a script side by side with
differences highlighted.

Also, you can script the databases to seperate folders and use a tool like
WinMerge to perform the comparisons:
http://groups.google.com/group/microsoft.public.sqlserver.programming/msg/ff9cfe0c46abfa76

[quoted text, click to view]

AddThis Social Bookmark Button