I have an update script for a script I wrote. Users will need to run the update script to add new tables and to alter tables.
Currently my install script pulls all of the create table statements from an sql file and creates the tables.
What is the best way to detect which tables are present and which are present but need to be altered?
I'm currently using this but that doesn't take care of adding alter statements:
Thanks,
Tim