I\'m in the process of creating database scripts for an existing database. I\'m trying to use SQL Server to generate the scripts for me, but the generated scripts are faili
If your target DB is SQL 2000 then it complains about this line
WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, FILLFACTOR = 90) ON [PRIMARY]
SQL 2000 only supports
WITH FILLFACTOR = 90
So there is probably some compatibility setting you can use to only generate SQL 2000 syntax