Generate sql server scripts