Click here to Skip to main content
11,705,610 members (45,715 online)
Click here to Skip to main content

Tagged as

Generate Script with Data from Database

, 13 Nov 2010 CPOL 4.9K 4
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

You may also be interested in...

Comments and Discussions

 
QuestionVery useful Pin
Member 310415925-Mar-12 13:07
memberMember 310415925-Mar-12 13:07 
GeneralGood one!! Pin
Sunasara Imdadhusen29-Dec-10 23:25
memberSunasara Imdadhusen29-Dec-10 23:25 
Generalgood answer tarun...... Pin
Vivek Johari26-Nov-10 6:04
memberVivek Johari26-Nov-10 6:04 
GeneralReason for my vote of 5 Nice Explaination Pin
niteshkatare00715-Nov-10 18:00
memberniteshkatare00715-Nov-10 18: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
Web02 | 2.8.150819.1 | Last Updated 13 Nov 2010
Article Copyright 2010 by tarun_j200
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid