How to store SQL Agent Job Step output messages to a custom table?

  • By default the Job Step output messages are written to msdb..sysjobstepslogs. Is it possible to write the message to a custom table?

    Your help is much appreciated.

    Thanks,

    Siddharth

  • Yes, that is possible. You can put a trigger on the table msdb.sysjobstepslogs which inserts the data you want to another table.

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

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