Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trigger stored procedures from outside database
Message
General information
Forum:
Microsoft SQL Server
Category:
Other
Miscellaneous
Thread ID:
01529126
Message ID:
01529135
Views:
38
>>>Hi
>>>
>>>I've got some Jobs that run stored procedures to produce some reports.
>>>
>>>These jobs are scheduled but sometimes users want to be able to trigger there running themselves.
>>>
>>>has anyone got any idea how I can give users the ability to start jobs in SQL Server.
>>>
>>>Thanks
>>>
>>>Nick
>>
>>http://www.sqlusa.com/bestpractices2005/startjobfromstoredproc/
>
>No thanks Naomi
>
>I want users to be able to trigger a job from outside the SQL Management Studio.
>
>Thanks

The only other ways are to write an app that will connect to the server and execute sp_start_job as Naomi mentioned, or do it from one of the command line utilities like sqlcmd (http://msdn.microsoft.com/en-us/library/ms165702.aspx).

Any way you look at it, you have to establish a SQL connection using an appropriate account.
____________________________________

Don't Tread on Me

Overthrow the federal government NOW!
____________________________________
Previous
Reply
Map
View

Click here to load this message in the networking platform