首页 > 数据库技术 > 详细

How to save SQL Server data as Insert INTO SQL Script

时间:2014-03-08 09:40:37      阅读:466      评论:0      收藏:0      [点我收藏+]

/*Author : Jiangong SUN*/


If you have wondered to clean a table data, and want to save the original data in a backup sql script. 

Here is a solution for it.


Right click your database ->  click "Tasks" -> then click "Generate Scripts"


Then you will see an interface : "Generate scripts for database objects", 


->click "Next",  then "Select specific database objects",  

-> then "Tables" with specific tables.

-> "Specify how script should be saved or published", and click "Advanced" , In the options, choose "Types of data to script" and modify it to "Data only".

-> click "Next" and then finish.


And then your "INSERT INTO" scripts are generated.


I hope this post can do help to your work! 

How to save SQL Server data as Insert INTO SQL Script,布布扣,bubuko.com

How to save SQL Server data as Insert INTO SQL Script

原文:http://blog.csdn.net/garcon1986/article/details/20728079

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!