Solved

database detached

Posted on 2011-02-11
7
301 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
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.

 
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

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

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

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
Via a live example, show how to shrink a transaction log file down to a reasonable size.

863 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