Get SQL dump with data from SQL server 2008 studio
From Notes_Wiki
Home > Windows > Microsoft SQL server > Get SQL dump with data from SQL server 2008 studio
To get SQL dump with data (Table rows including values) from SQL server 2008 studio use following steps:
- Right click on database and from Tasks menu choose "Generate scripts"
- Choose to generate scripts for required tables / views etc. or for entire database and click next
- On the next screen with option to specify SQL dump destination file click "Advanced"
- In the popup change value of "Types of data to script" from "Schema only" to "Schema and Data"
- Close the popup and specify other details as per need
- Export the SQL dump
Refer:
Home > Windows > Microsoft SQL server > Get SQL dump with data from SQL server 2008 studio