|
|
|||||||||
|
|||||||||
|
|||||||||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
||||
|
||||
|
SQL Server 2005 - Calling SQL jobs in a stored proc
Is it possible to call a SQL agent job in a stored procedure. I can't find anything on the web or this forum. I didn't how to call the stored proc in ASP.net that calls the job. So, I guess my question is can some one explain to me how.
![]() thx |
|
#2
|
|||
|
|||
|
Can i ask why you want to do that?
|
|
#3
|
||||
|
||||
|
The only reason I wanted to do this was that the job was already created and sent an email to the needed party, as well as said what sp failed to run. The user just wanted the ability to call it from the web page. I decided just to create an sp to do the same thing. I just figured that the job would have the ability to be called from a sp.
|
|
#4
|
|||
|
|||
|
http://technet.microsoft.com/en-us/library/ms186757.aspx
|
|
#5
|
||||
|
||||
|
Quote:
Thanks visakh16 |
![]() |
| Viewing: ASP Free Forums > Database > Microsoft SQL Server > SQL Server 2005 - Calling SQL jobs in a stored proc |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|
|