SQL Server Management Studio 2005 SQL dump

0

How can i create a SQL dump (structure and data) with the Management Studio 2005 or the MS SQL server?

Johni

Posted 2013-02-28T13:05:06.650

Reputation: 103

When you say 'dump' do you mean creating SQL statements that could be run to recreate the structure and data in a new db?> – Brad Patton – 2013-02-28T21:42:16.927

Yes, thats what i mean. – Johni – 2013-03-01T07:57:35.510

Answers

0

In SQL Server Management Studio right-click your database and select Tasks / Generate Scripts. Follow the wizard and you'll get a script that recreates the data structure in the correct order according to foreign keys. On the wizard step titled "Set Scripting Options" choose "Advanced" and modify the "Types of data to script" option to "Schema and data"

Fazer87

Posted 2013-02-28T13:05:06.650

Reputation: 11 177