Solved

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

Posted on 2009-07-07
3
213 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

In this article I will describe the Detach & Attach 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.
This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the adminiā€¦

735 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