Forum Replies Created

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

  • RE: how to catch previous error message

    I have found a workaround


    select
    --sj.name as 'JobName',
    --sh.run_date,
    --sh.run_time,
    --sh.step_name,
    STUFF(STUFF(RIGHT(REPLICATE('0', 6) +...

  • RE: how to catch previous error message

    Thanks RandomStream,
    The Backup-Command was only a general example. There are several commands that throw several errors.
    The question of mine is how to save and evaluate all errors in...

  • RE: how to catch previous error message

    Thanks Sue, but with throw i give the last error to the next catch block, but i can't see the full error stack or previous error message.
    It would be...

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