Fixed some DDL statements for SQL Server