Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Is SP Executing?

Status
Not open for further replies.

bbitzer

Programmer
Feb 4, 2003
8
0
0
US
Is there a way to tell if a stored procedure is running so the same proc is not executed again at the same time from another user?
 
Hi,
just a suggestion, have you tried locking the data the proc calls then the second proc call will just wait in a queue

bassguy
 
You could also put the stored procedure in a job. You can't re-execute a job while its running.

Cheyney
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top