Solved

Export MDF file in SQL server Express 2008 r2

Posted on 2014-03-18
1
2,242 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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Access sql to sql server express 10 31
SQL Server Count where two id types exist in column 8 27
sql server concatenate fields 10 31
VB.NET 2008 - SQL Timeout 9 22
Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.

815 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

9 Experts available now in Live!

Get 1:1 Help Now