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