Revisioning DB-related Objects: Is it just us?
Why do we have such a difficult time keeping our database object code under source control and in-sync with what's in production? We've gone through several "policy & procedure" phases already, and not one of them has stuck. They're either too involved, or provide too little benefit to warrant spending any time dealing with. Granted, I'm willing to bet it's just us - we're just being lazy; not granting the db object code the proper "weight"; not treating it as we do standard source code files (C# and the like). Maybe it's because we use completely different tools to manage one type versus the other. We use VS.NET for the "standard" code, and it integrates tightly with our source control system. However, we use a combination of Enterprise Manager and Query Analyzer to work with SQL Server, and it - in no way - integrates with our source control system. True, we could use VS.NET for most of the db-related changes and we've actually tried to on a couple of occassions. But, it just doesn't "feel" right. Are we crazy? Are we just too used to EM and QA? Is everyone else switching to VS.NET for db-related changes?
Please, feel free to comment on your methods of handling your db objects with regard to source control.