Get your favorite SSC scripts directly in SSMS with the free SQL Scripts addin.
Search for scripts directly from SSMS, and instantly access any saved scripts in your
SSC briefcase from the favorites tab.
Download now (direct download link)
Thank this author by sharing:
By Matthias Kroll,
I was lookig for a way to get the description of a schedule/job schedule via Tsql. We found msdb..sp_help_schedule SP and that using msdb..sp_get_schedule_description.
But what a suprise, the description provided by sp_get_schedule_description was not the one we supposed to get for every case.
I searched for a ready to use workaround and found only some statements using the TSql from the sp_get_schedule_description.
Assume one is creating a job with a schedule for every 4 days at 00:03:00. From msdb..sp_get_schedule_description you will get 'Every day at 300' and not the right description
'Every 4 days at 00:03:00'.
Feel free to put the statement into a View, SP or what else you need, to get the right description of a schedule via TSql.
A SELECT statement which includes the alpha description of each job's schedule
Yet another schedule description query with added grammatical improvements.
Hresult: 0x80004005 Description:
Comments posted to this topic are about the item [B]Generate Job Schedule Descriptions[/B] Did not w...
Urgent ! DTS packge Scheduling error. Step Error Description:Invalid Task Result value.