Lol
I know that I can attach them
But, how can I view the contents of the LDF file?
Main Topics
Browse All TopicsIs there and LDF and/or MDF viewer?
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
That's a slightly inaccurate question. LDFs are not stored in SQL Server backup files. Full backup files store data pages only. Log backup files store the active portion of the log at the time of backup.
You can use RESTORE HEADERONLY to see the header info about the backup. To view the actual data you'll have to restore it or use a binary file viewer. I don't know of any special viewer for backup files.
Sorry dportas... you are so wrong... when you make a full backup and then restore it in another server, it will generate the ldf file.
The difference between a full backup and a log backup is that full backup COPIES the content of your ldf file to the backup file, and the log backup MOVES the content of the ldf file.
just a small clarification:
<..>the difference between a full backup and a log backup is that full backup COPIES the content of your ldf file to the backup file, and the log backup MOVES the content of the ldf file.<...>
AFAIK, only the ACTIVE part of the log file is backed up in either case, not the full .ldf file. the actual log file size if specified in the .mdf header section, hence the correct size can be restored. that also explains why, even with large .ldf files, but low activity and/or regular log backups, the (log) backup (part) remains small.
Angel is quite right and I could have worded my answer better. What I meant was that it's misleading to talk about the data or log FILES being backed up. Full backups contain data from the active virtual log but a SQL backup is not a backup of the MDF / LDF files themselves. Sorry for any confusion.
Business Accounts
Answer for Membership
by: dportasPosted on 2008-07-24 at 14:15:20ID: 22083602
Yes. It's called SQL Server :)
Attach the files to a working SQL Server.