Quantcast
Channel: Forum SQL Server Database Engine
Viewing all articles
Browse latest Browse all 15889

How can I write to job step output?

$
0
0

Can I do this in a job step?

BEGIN TRY
    exec my_stored_procedure
END TRY
BEGIN CATCH
   --get error info from ERROR_MESSAGE and ERROR_PROCEDURE
   --write error info to job step output?
END CATCH


Viewing all articles
Browse latest Browse all 15889

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>