select @@servername , name , step_name , output_file_name from msdb.dbo.sysjobs j inner join msdb.dbo.sysjobsteps s on j.job_id = s.job_id where output_file_name is not nullFind SQL Agent Job Steps without output files -
select @@servername , name , step_name , output_file_name from msdb.dbo.sysjobs j inner join msdb.dbo.sysjobsteps s on j.job_id = s.job_id where output_file_name is null
No comments:
Post a Comment