How can I get a SQL dump of a SQL Server 2008 database?

后端 未结 3 973
太阳男子
太阳男子 2020-12-14 00:25

How can I get a SQL dump of a SQL Server 2008 database? That is, a .sql file with inserts to regenerate the data in another database, much like mysqldump.

3条回答
  •  执笔经年
    2020-12-14 01:12

    I had a hard time finding the 'Script Data' option mentioned in stuartd's answer on SQL Server 2008 R2. I found the 'Types of data to script' option and changed it to 'Schema and Data' and that did the trick

提交回复
热议问题