Solved

Start a SQL Job by an User

Posted on 2011-02-15
3
459 Views
Last Modified: 2012-05-11
Hi Experts.

I need your help! I have some export jobs in my SQL Server 2008.
Those jobs have to be started by an user.

As soon as the user has finished his job (entering data) the export should start by an interaction of the user.

I tried to use a batch file which was startet by the user, but since they do not have access to the SQL Server, they cant start the job.

Any ideas how i could handle this export?

Thanks!
0
Comment
Question by:StevetheBeef
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 28

Accepted Solution

by:
Ryan McCauley earned 500 total points
ID: 34897803
You can grant them rights to execute SQL Agent Jobs:

http://msdn.microsoft.com/en-us/library/ms190926.aspx

However, it appears that "Execute" is a global right, and you can't give them the rights to execute just a single job. Alternatively, you could create a Stored Procudure that executes this job (using MSDB..sp_start_job) and grant them rights to execute that. For more details about doing that, check out this Microsoft article:

http://msdn.microsoft.com/en-us/library/ms186757.aspx
0
 
LVL 27

Expert Comment

by:Tolomir
ID: 35225204
This question has been classified as abandoned and is being closed as part of the Cleanup Program. See my comment at the end of the question for more details.
0

Featured Post

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

SHARE your personal details only on a NEED to basis. Take CHARGE and SECURE your IDENTITY. How do I then PROTECT myself and stay in charge of my own Personal details (and) - MY own WAY...
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

718 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question