Solved

Export MDF file in SQL server Express 2008 r2

Posted on 2014-03-18
1
2,218 Views
Last Modified: 2014-03-20
I am using SQL server EXPRESS r2 edition. How to take backup as MDF file of the database ?
0
Comment
Question by:Vikash p
1 Comment
 
LVL 39

Accepted Solution

by:
lcohan earned 500 total points
ID: 39937771
You can issue a manual CHECKPOINT against the database, then Detach it from SQL Server SSMS or use sp_detachdb, then copy the MDF somewhere, then attach it back to the SQL Server using sp_attachdb but frankly....Why not just taking a FULL database backup? and restore it elsewhere or just save the backup?
0

Featured Post

Get up to 2TB FREE CLOUD per backup license!

An exclusive Black Friday offer just for Expert Exchange audience! Buy any of our top-rated backup solutions & get up to 2TB free cloud per system! Perform local & cloud backup in the same step, and restore instantly—anytime, anywhere. Grab this deal now before it disappears!

Join & Write a Comment

In this article—a derivative of my DaytaBase.org blog post (http://daytabase.org/2011/06/18/what-week-is-it/)—I will explore a few different perspectives on which week today's date falls within using Microsoft SQL Server. First, to frame this stu…
Introduction SQL Server Integration Services can read XML files, that’s known by every BI developer.  (If you didn’t, don’t worry, I’m aiming this article at newcomers as well.) But how far can you go?  When does the XML Source component become …
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Via a live example, show how to shrink a transaction log file down to a reasonable size.

762 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

24 Experts available now in Live!

Get 1:1 Help Now