SQL Server Version Upgrade Tables
I am part of a software development company looking for a good way to update my SQL Server tables when I release a new version of the software. I know the answer is probably to use scripts in one form or another.
I am considering writing my own .NET program that runs scripts to make it a little easier and more convenient. I was wondering if there are any tools out there in this direction. Any input would be appreciated.
a source to share
What product are you using to install your software? Products like InstallShield often include SQL steps as an option to part of your installation script.
Otherwise, you can use isql / osql to run your script from the command line via a batch file.
One of the developers I'm currently consulting with wrote a pretty great SQL installer. I'll ask him when he finds out how he did it.
a source to share
Check out DB Ghost Packager Plus .
Packages the source database and compare and sync engine into a simple EXE for deployment. The EXE installer will automatically update any target schema to match the source on the fly during installation.
a source to share