ExamNotes.net  -  IT certification portal

ForumsCertResearchTop sitesNewslettersFree email
HomeRegister


Exams Notes
Practice exams
Exam games
Questions by email
Online training
Training videos
College degrees
Boot camps
Book store
Links directory
Tell a friend
For webmasters




General discussions > Public newsgroups > microsoft.public.sqlserver.server > retrieveing mdf and ldf

Show a Printable Version
Email This Page to Someone!
Receive updates to this thread



Author retrieveing mdf and ldf
News Hound
Guest




Registered: Not Yet
Location:
Country:
State:
Certifications:
Working on:

Total Posts: N/A
retrieveing mdf and ldf

Is there any way to retrieve an mdf and ldf from an sql server 7
installation when they have not been firstly detached?

Thanks.


Report this post to a moderator

Old Post 11-25-02 06:23 PM
Reply w/Quote Edit/Delete Message IP: Logged
James Hunter Ross
Guest




Registered: Not Yet
Location:
Country:
State:
Certifications:
Working on:

Total Posts: N/A
Re: retrieveing mdf and ldf

Sure, if SQL Server was stopped at the time the MDF/LDF were grabbed. The
documentation talks about a proper "detach", but if SQL Server is stopped,
things seem to work fine too. If SQL Server was up, and you just copied the
MDF/LDF you'll just have to try the re-attach and see whether you get lucky.
Or, if the SQL Server box crashed and now all you have is the MDF/LDF you
might get lucky. If for some reason you have trouble attaching the LDF, you
could try sp_attach_db_single_file and have SQL Server recreate an new LDF
for you. Certainly you will lose the the log information, but that might be
better than the alternative.

Obviously, a backup would be much better.

James


"News Hound" <me@home.com> wrote in message
news:uU0FKqKlCHA.1368@tkmsftngp09...
> Is there any way to retrieve an mdf and ldf from an sql server 7
> installation when they have not been firstly detached?
>
> Thanks.
>
>



Report this post to a moderator

Old Post 11-25-02 06:23 PM
Reply w/Quote Edit/Delete Message IP: Logged
All times are GMT.
Post new thread   Post reply


Forum Jump:
Rate This Thread:
Forum Rules:
Who Can Read The Forum? Any registered user or guest.
Who Can Post New Topics? Any registered user.
Who Can Post Replies? Any registered user.
Changes: Messages can be edited by their author.
Posts: HTML code is OFF. Smilies are ON. vB code is ON. [IMG] code is OFF.
 

ExamNotes forum archive


Powered by: vBulletin 2.2.8
Copyright ©2000, Jelsoft Enterprises Limited.

  Free Braindumps | mcse braindumps