PrepAway - Latest Free Exam Questions & Answers

Which Transact-SQL statement should you use?

You discover that the msdb database on a SQL Server 2005 computer is corrupt and must be restored.

Databases are backed up daily. The database backup files are written to a network share, but the file names do not clearly indicate which databases are in each file.

You need to locate the correct backup file as quickly as possible. The first file in the list is named DB_Backup.bak.

Which Transact-SQL statement should you use?

PrepAway - Latest Free Exam Questions & Answers

A.
RESTORE LABELONLY
FROM DISK = NServer1BackupDB_Backup.bak

B.
RESTORE HEADERONLY
FROM DISK = NServer1BackupDB_Backup.bak

C.
RESTORE VERIFYONLY
FROM DISK = NServer1BackupDB_Backup.bak

D.
RESTORE DATABASE MSDB
FROM DISK = NServer1BackupDB_Backup.bak


Leave a Reply