Solved

Exporting MSSQL database to .SQL file including Data

Posted on 2008-09-30
3
307 Views
Last Modified: 2012-05-05
I have a MSSQL database which i am managing with MS SQL Server Management Studio 2005. Can someone explain me how I can export a database into a .SQL file including the INSERT statements for the data?

I've managed to do it before but I forgot how I did it,

Thanks.
0
Comment
Question by:inghfs
[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
3 Comments
 
LVL 32

Accepted Solution

by:
Daniel Wilson earned 500 total points
ID: 22613608
I've seen a utility for MySQL that does this ...

In MS SQL Server, scripting the schema out is simple -- from your question I think you've already figured that out.

To get the data, I recommend BPC.

Of course ... if transferring the entire DB is what you want to do, a backup file is actually preferable.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction: When running hybrid database environments, you often need to query some data from a remote db of any type, while being connected to your MS SQL Server database. Problems start when you try to combine that with some "user input" pass…
Data architecture is an important aspect in Software as a Service (SaaS) delivery model. This article is a study on the database of a single-tenant application that could be extended to support multiple tenants. The application is web-based develope…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

752 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