troubleshooting Question

Can running a stored procedure too frequently cause conflict and unexpected results?

Avatar of raburk
raburkFlag for United States of America asked on
Microsoft SQL ServerSQL* stored prcedure* MICROSOFT SQL SERVER 2012 EXPRESS
4 Comments1 Solution66 ViewsLast Modified:
I have a SQL Server Agent job that runs every two minutes.  That job invokes a stored procedure which looks to see if there are any batches ready to be uploaded (STATUS = 'COMPLETE').  If there is, it decides which environment to use, and runs a function to build dynamic SQL, which it then executes at the end.

I suspect that running the procedures are conflicting with one another and causing unexpected results.  Especially if one of the runs takes longer than 2 minutes.  Could this be the case?
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 4 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 4 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros