SQL Agent jobs fails - SP_FORCE_SHRINK_ALL_LOGS

  • I have implemented the stored procedures sp_force_shrink_log and SP_FORCE_SHRINK_ALL_LOGS to shrink the logs for all databases once a week. The SQL Agent job fails every time altough I do not see any errors or messages in the output. Any ideas?

  • Add SELECT or PRINT output to your stored procedures, use RETURN (1) and RETURN (0) so the SQL Server Agent Job can receive proper return values.

    Have you tried using the "show step details" check box when viewing the Job History?

    Andy

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

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