SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Stairway to SQL Server Agent - Step 2: Job Steps and Subsystems


Stairway to SQL Server Agent - Step 2: Job Steps and Subsystems

Author
Message
Richard Waymire
Richard Waymire
Old Hand
Old Hand (307 reputation)Old Hand (307 reputation)Old Hand (307 reputation)Old Hand (307 reputation)Old Hand (307 reputation)Old Hand (307 reputation)Old Hand (307 reputation)Old Hand (307 reputation)

Group: General Forum Members
Points: 307 Visits: 64
Comments posted to this topic are about the item Stairway to SQL Server Agent - Step 2: Job Steps and Subsystems



Sureindran Nadesan
Sureindran Nadesan
SSC Veteran
SSC Veteran (238 reputation)SSC Veteran (238 reputation)SSC Veteran (238 reputation)SSC Veteran (238 reputation)SSC Veteran (238 reputation)SSC Veteran (238 reputation)SSC Veteran (238 reputation)SSC Veteran (238 reputation)

Group: General Forum Members
Points: 238 Visits: 616
It would be nice if sysjobs and other table are mentioned as scripts to accent the name,steps etc.
mk7dba
mk7dba
SSC Veteran
SSC Veteran (208 reputation)SSC Veteran (208 reputation)SSC Veteran (208 reputation)SSC Veteran (208 reputation)SSC Veteran (208 reputation)SSC Veteran (208 reputation)SSC Veteran (208 reputation)SSC Veteran (208 reputation)

Group: General Forum Members
Points: 208 Visits: 384
Earlier today, I was struggling to diagnose a T-SQL job that selects info from a master db table and sends them to an email. I kept getting SELECT permission issues in the error message. I didn't realize that jobs don't always run as the job owner and it was running instead under the SQLServerAgent account, that wasn't setup as a login on SSMS. As soon as I added the SQLServerAgent account it started working just fine.

This was the only job that was all T-SQL rather than PS or CMDExec, so none of my other jobs were failing.
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum







































































































































































SQLServerCentral


Search