Click here to Skip to main content
11,431,829 members (64,440 online)
Click here to Skip to main content
Alternative Tip/Trick

Tagged as

Generate Script with Data from Database

, 13 Nov 2010 CPOL
Rate this:
Please Sign up or sign in to vote.
SSMS also provides the option to generate SQL script file which contains both schema and data.Right click the database and select Generate Scripts under Tasks Menu.Click Set Scripting Options on the left hand menu (in SQL Server 2008 R2) then click Advanced button, there is an option under...
SSMS also provides the option to generate SQL script file which contains both schema and data.
Right click the database and select Generate Scripts under Tasks Menu.
Click Set Scripting Options on the left hand menu (in SQL Server 2008 R2) then click Advanced button, there is an option under General category named Type of data to Script which has 3 options - Schema only, Data only and Schema and Data.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

tarun_j200

India India
No Biography provided

Comments and Discussions

 
QuestionVery useful Pin
Member 310415925-Mar-12 14:07
memberMember 310415925-Mar-12 14:07 
GeneralGood one!! Pin
Sunasara Imdadhusen30-Dec-10 0:25
memberSunasara Imdadhusen30-Dec-10 0:25 
Generalgood answer tarun...... Pin
Vivek Johari26-Nov-10 7:04
memberVivek Johari26-Nov-10 7:04 
GeneralReason for my vote of 5 Nice Explaination Pin
niteshkatare00715-Nov-10 19:00
memberniteshkatare00715-Nov-10 19:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.150428.2 | Last Updated 13 Nov 2010
Article Copyright 2010 by tarun_j200
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid