Is there a way to dump the content of a few SQL Server tables into a file consisting of standard INSERT INTO statements of my SQL Server database?
-
As a one-off or programmatically?Alex K.– Alex K.2011-06-29 12:04:32 +00:00Commented Jun 29, 2011 at 12:04
-
Duplicate: stackoverflow.com/q/422847/532498Pleun– Pleun2011-06-29 12:08:30 +00:00Commented Jun 29, 2011 at 12:08
-
Yeah, a one-time dump from mssql to another dbCarlo V. Dango– Carlo V. Dango2011-06-29 12:11:46 +00:00Commented Jun 29, 2011 at 12:11
Add a comment
|
2 Answers
You can use Ms Sql Publisher wizard . This will help you to create scripts based on your database schema, data or even both. Please check this link if you want to do it in Visual Studio 2008
Also, there is this article on codeproject which uses Ms Sql Publisher Wizard
1 Comment
Carlo V. Dango
Yes I found this, I was just very surprised that it didn't support it out of the box
If you need it as one-off, look here http://www.codeproject.com/KB/database/sqlinsertupdategenerator.aspx
1 Comment
Carlo V. Dango
Cheers, but it seems to be having serious problems such as not supporting datetime columns