3 ms·
Hang on a second... You use MS SQL Server and don't follow the practices he describes in this article? Why on earth not? SQL Server is just plain awesome at t
by jasonkester 15y ago
Hang on a second... You use MS SQL Server and don't follow the practices he describes in this article? Why on earth not?
SQL Server is just plain awesome at this stuff. Schema is all scriptable (it even prompts you to let it script itself if you mess with things in the modeling tools). That means that you get automagic change scripts that tuck nicely into source control and are just waiting to be sucked in by your automated build and deploy system of choice.
Procs and everything else are all just scripts, which get their own files. So just like you have individual files for all 500 of your classes, you'll have 500 .sql files for those procedures. It's not difficult in any way.
It sounds like you ran into problems because you inherited a system from people who went out of their way to mess things up. Messed up things are hard to work with, regardless of what technology they live in. Try not to blame the database for the fact that you can build ugly things with it.