With the help of SQL Server Agent tokens, we can come up with corresponding ... set @currTime = cast(replace(substring(convert(varchar, getdate(), 114),1,8), ':', '') as int) if not exists ( select * from msdb.dbo.jobdata d inner join msdb.dbo.sysjobs ...
↧