0

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

  • 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 Feb 28 '13 at 21:42
  • Yes, thats what i mean. – Johni Mar 1 '13 at 7:57
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"

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.