I'd like to have all DB DDL code under CVS.
We are using Subversion for our .NET code. But all Database code remains still unversioned.
All we know how important DB logic can be. I've googled but I've found only few (expensive tools) I believe there exist other (cheaper) solution(s)
I'm wonder your approach. How do you implemented that? What's your tools?
SQL Server 2005, VS 2008 TS, TSVN
UPDATE Our coding scenario is developers cannot access to PROD DB directly. It is changed only by scripts (so this is not a problem)
I'm mostly interested DEV environment where all of developers have full access.
So it happens one developer overwrite USP previously changed by another.
I'd like to have possibility to restore lost version / compare USPs revisions etc.
UPDATE-2
To create deployment script we are using Red-Gate SQL Compare.
Works perfectly - so deployment scripts are not a case.