Clean up create tables.sql

Get rid of all the useless code that may interfere with other versions of SQL server, and remove a strangely pointless self-referencing foreign key.