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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Asynchronicity or not.....

Status
Not open for further replies.

scotttom

IS-IT--Management
Mar 5, 2002
143
US
I need some guidance..... I need to run a stored procedure but I don't want to wait for the results.

This SP can take up to 4 minutes to run and I don't want the users to have to wait before moving on in the code.

I found an article with a model that I followed, but it does not work and I don't know how to troubleshoot it.


Am I even on the right track with this?

I've also seen scheduling a job as a potential solution, but the inserts are somewhat infrequent, so that seems like the wrong approach to me.

Thanks in advance for any help.

Scott
 
why not performance tune the sp? Very few sps that do something for the user should take 4 minutes.

"NOTHING is more important in a database than integrity." ESquared
 
Why does the SP need to be asynchronous? Shouldn't wherever they are running it from be the one that performs the action asynchronously (I assume the users are running this from some sort of application rather than directly from a sql client tool)?


-------------------------------------------------------

Mark,
[URL unfurl="true"]http://aspnetlibrary.com[/url]
[URL unfurl="true"]http://mdssolutions.co.uk[/url] - Delivering professional ASP.NET solutions
[URL unfurl="true"]http://weblogs.asp.net/marksmith[/url]
 
Welllll..... so it's an Access front end, so no Asynchronicity is possible.

We do most of the heavy lifting on the SQL server, and the front end is so big we can't invest in an upgrade now...... you know the story.

So am I on the right track?

Thanks for the replies,

Scott

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top