How can I generate a script of my database as it is?

前端 未结 6 1714
孤街浪徒
孤街浪徒 2021-02-02 17:18

My primary reason for this is to keep track of database schema changes for my application. In SQL Server Management Studio I am able to generate a create script which creates t

6条回答
  •  甜味超标
    2021-02-02 17:56

    Watch out for difference in database collation. If you develop on a database with a case insensitive collation and try and run the SSMS generated scripts against as database with a case sensitive collation then errors in case will break the scripts.

提交回复
热议问题