Our current scenario is like this:
- we have an existing database that needs to be updated for each new release that we install
- we have to do this from individual SQL scripts (we can't use DB compare/diff tools)
- the installation should run the SQL scripts as automatically as possible
- the installation should only run those SQL scripts, that haven't been run before
- the installation should dump a report of which script ran and which did not
- installation is done by the customer's IT staff which is not awfully SQL knowledgeable
Whether this is a good setup or not is beyond this question - right now, take this as an absolute given - we can't change that this or next year for sure.
Right now, we're using a homegrown "DB Update Manager" to do this - it works, most of the time, but the amount of work needed to really make it totally automatic seems like too much work.
Yes, I know about SQLCMD - but that seems a bit "too basic" - or not?
Does anyone out there do the same thing? If so - how? Are you using some tool and if so - which one?
Thanks for any ideas, input, thoughts, pointers to tools or methods you use!
Marc