Backup validity status

  • 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?

  • This was removed by the editor as SPAM

  • I'm not sure how to do that directly but what if you check @@error immediately after?

     

     

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply