Solved

database detached

Posted on 2011-02-11
7
303 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
The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

 
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

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.

Question has a verified solution.

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

Having an SQL database can be a big investment for a small company. Hardware, setup and of course, the price of software all add up to a big bill that some companies may not be able to absorb.  Luckily, there is a free version SQL Express, but does …
Everyone has problem when going to load data into Data warehouse (EDW). They all need to confirm that data quality is good but they don't no how to proceed. Microsoft has provided new task within SSIS 2008 called "Data Profiler Task". It solve th…
Via a live example, show how to shrink a transaction log file down to a reasonable size.
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.

813 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

10 Experts available now in Live!

Get 1:1 Help Now