Solved

Sql to make a dump file of a table's DDL and data in SQL Server?

Posted on 2009-07-07
3
204 Views
Last Modified: 2012-05-07

Hi,

Can anyone tell me the SQL command to make a dump file of a table's DDL and data in SQL Server?  Thanks!!
0
Comment
Question by:superoneio
  • 2
3 Comments
 
LVL 38

Accepted Solution

by:
Jim P. earned 125 total points
ID: 24794644
Probably the easiest is to use the Microsoft SQL Server Database Publishing Wizard 1.1.

You can also do a backup and restore. It all depends what you want to do.


Microsoft SQL Server Database Publishing Wizard 1.1
http://www.microsoft.com/downloads/details.aspx?familyid=56E5B1C5-BF17-42E0-A410-371A838E570A&displaylang=en
0
 

Author Closing Comment

by:superoneio
ID: 31600591
Thanks you're a genius!!!
0
 
LVL 38

Expert Comment

by:Jim P.
ID: 24794927
>> Thanks you're a genius!!!

So they tell me. ;-)

Glad to be of assistance. May all your days get brighter and brighter.
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Naughty Me. While I was changing the database name from DB1 to DB_PROD1 (yep it's not real database name ^v^), I changed the database name and notified my application fellows that I did it. They turn on the application, and everything is working. A …
In this article I will describe the Copy Database Wizard method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now