1. 右健数据库 –> Tasks –> Generate Scripts
2. 选择所有的表
3. 下一步,选择Advanded, Types of data to script 选择Schema and data
sql server 小技巧 集锦