Solved

database detached

Posted on 2011-02-11
7
305 Views
Last Modified: 2012-05-11
I just detached a sql server express database but not sure where to find it.  where does it  detach to?
0
Comment
Question by:Isaac
7 Comments
 
LVL 25

Expert Comment

by:Lee Savidge
ID: 34870343
Reattach and right mouse click and choose properties and look at the file locations. Reattach will look in the default location for the databases.

Lee
0
 
LVL 3

Expert Comment

by:rajkumartech
ID: 34870388
You can find it in the data folder of the sql .
0
 
LVL 21

Accepted Solution

by:
Alpesh Patel earned 500 total points
ID: 34870657
By default you can get your database mdf and ldf files @ "C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data"
0
Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 
LVL 25

Expert Comment

by:Lee Savidge
ID: 34870717
That depends on the version of Windows or where they were installed in the first place. It is quickest to reattach, check  properties, detach and then navigate to the files.

Lee
0
 
LVL 5

Author Comment

by:Isaac
ID: 34870790
I'm using windiws 7.  I need to know where it is located when it was detached so I can reattach.

0
 
LVL 75

Expert Comment

by:Anthony Perkins
ID: 34876635
Have you tried the Windows 7 search utility?  I suspect it would take you under 5 minutes to search your computer for anything remotely like *.mdf.

Just a thought.
0
 
LVL 15

Expert Comment

by:Aaron Shilo
ID: 34881753
hi

just type SP_HELPFILE under the Master database.
your database files are probably under the same path.

0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Introduction In my previous article (http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SSIS/A_9150-Loading-XML-Using-SSIS.html) I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.

831 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