SQL server if verify backup integrity fails do something -
i have made sql server agent backup job 'verify backup integrity' checked. want call job within stored procedure using sp_start_job. if backup integrity fails want (rollback/show error message..something that). how go doing this? sp_start_job return error or return 1 or what?
i figured out job not return 1, because job takes time complete , job failed part. found useful link wait job finish can catch error.
Comments
Post a Comment