Click here to Skip to main content
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 PinmemberMember 310415925-Mar-12 14:07 
GeneralGood one!! PinmemberSunasara Imdadhusen30-Dec-10 0:25 
Generalgood answer tarun...... PinmemberVivek Johari26-Nov-10 7:04 
GeneralReason for my vote of 5 Nice Explaination Pinmemberniteshkatare00715-Nov-10 19:00 
Reason for my vote of 5
Nice Explaination

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
Web03 | 2.8.1411023.1 | Last Updated 13 Nov 2010
Article Copyright 2010 by tarun_j200
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid