Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Calling SQL stored proc from web page then release web page

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2002-01-07 : 10:10:30
Bill writes "Here goes - I have a web site in which the customer can click on an item which in turn runs a SQL stored proc. This proc can run anywhere from 2 min to 30 min. How can I call the proc then release the web site so the user can continue on while the proc runs? Results of the proc are stored in a table. Nothing is actually retuned to the screen. Thanks a bunch."

nr
SQLTeam MVY

12543 Posts

Posted - 2002-01-07 : 10:20:16
Easiest is to put the SP call in a job and start the job from an SP. This will then release the client.
If this may be called many times then put the call into a table and have the job look at the table.

==========================================
Cursors are useful if you don't know sql.
Beer is not cold and it isn't fizzy.
Go to Top of Page
   

- Advertisement -