I have a commercial program for which I am writing a new module. It uses installshield to install updates to the program. I need to create several new tables for program. Each installation of the program is going to use the same SQL instance, however, they can have multiple databases (all with identical tables) and the names are unknown (on my end -- they create them themselves.)
I need to use a SQL script to create new tables and populate them in each one of the databases taht exists for the SQL instance, and have no idea how to go about this.
(I know how to write the generic SQL create script, just not how to automatically apply it to each database.)
Thanks in advance.