Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2004-11-18 : 08:33:29
|
| lebi writes "Is there a way to capture the output of the RESTORE VERIFY command? Like if I issue the RESTORE VERIFY command the output can be 'The backup set is valid' and store it in variable?" |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
Posted - 2004-11-18 : 14:06:07
|
| I am not aware of a way. But you should be warned that the command doesn't actually verify if the file is restorable. You must actually perform a RESTORE (usually on another server) to verify it. RESTORE VERIFYONLY only makes sure the file is consistent and valid not restorable.Tara |
 |
|
|
|
|
|