Solved

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

Posted on 2009-07-07
3
206 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

I'm trying, I really am. But I've seen so many wrong approaches involving date(time) boundaries I despair about my inability to explain it. I've seen quite a few recently that define a non-leap year as 364 days, or 366 days and the list goes on. …
Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

770 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