I am working on a new WordPress site to host an online bookstore for my publishing company. As I am a .NET developer I would rather use MS SQL in combination with WP DB Abstraction (https://wordpress.org/plugins/wordpress-database-abstraction/) plugin. I did a fresh install of Brandoo WordPress (http://www.microsoft.com/web/gallery/brandoowordpressmssql.aspx) which worked fine. When I wanted to create copies of the database so I could create another instances of WordPress I ran into problems as not all of the details relating to tables structure, keys, constraints and default values were not copied over.
What are the CREATE TABLE statements I need to create all the WordPress related Tables in MS SQL Server?
For SQL Server 2012, the following SQL script creates all the needed tables for WordPress 3.8.1.