5

How do I list the database files contained in a SQL Server 2005 backup file using T-SQL?

For instance:

The restore process will create:

bob.mdf
bob.ldf

etc...

4

RESTORE FILELISTONLY

| improve this answer | |
  • This is why gbn is one of my favourites here. Short accurate answers, right to the point. – datagod Sep 29 '12 at 19:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.