added basic activate check on sql table creations

Here's a small sample, how create stmts can be checked. Of course, it's very basic, but might save up some time in case of sql-typos in the code.