Due to performance issues, changed the CreateDB script to output all SQL commands to file which can then later be executed directly on the server.

Attempted to make SQL transitions in script in blocks, but this also had terrible performance.  At least this creates a portable file.