Solved

Microsoft SQL

Posted on 2013-11-25
3
183 Views
Last Modified: 2013-11-26
Hi i have a problem my database is corrupted and I do not make any backup.

My master file is corrupted.

But i have mdf and ldf files. Can I restore using this file.
0
Comment
Question by:umaxim
3 Comments
 
LVL 34

Assisted Solution

by:Brian Crowe
Brian Crowe earned 167 total points
ID: 39676292
you can attach the mdf and ldf files.

http://technet.microsoft.com/en-us/library/ms190209.aspx
0
 
LVL 6

Accepted Solution

by:
ButlerTechnology earned 167 total points
ID: 39676305
Are you referring to the MDF and LDF of the Master database or a particular database? .  

If the corruption is your Master database then you won't be able to use the MDF/LDF as the files are corrupt.  You will need to reinstall SQL and then you will have the ability to attach your user databases.

Tom
0
 
LVL 75

Assisted Solution

by:Aneesh Retnakaran
Aneesh Retnakaran earned 166 total points
ID: 39676327
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

Suggested Solutions

Title # Comments Views Activity
Linking a DMV to a database id/sql text in SQL server 2008 8 46
grouping logic 6 49
Azure SQL Insert not working suddenly 11 22
SSRS troubles 4 20
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
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.

895 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

17 Experts available now in Live!

Get 1:1 Help Now