Ask a Question related to ASP Database, Design and Development.
-
PL #1
Asynchronously executing query ?
I have been searching for an anser to this but it seems it is not
a commonly used technique.
If I execute a long running sp or query asynchronously from an ASP page
does it survive the page or just end after it finishes ?
For example, if I use this code:
Set cmd = Server.CreateObject("ADODB.Command")
Set cmd.ActiveConnection = conn
cmd.CommandText = "spLongRunning"
cmd.CommandType = adCmdStoredProc
' Execute the long running sp asynchconously
cmd.Execute , , adAsyncExecute
After the page has completed, is the sp still running or was it killed ?
And, if I set the cmd to Nothing at the end, does that kill the query or not ?
I guess I could set up some tests but I would like to get som clear
answers to this, preferably some documentation about the behaviour.
Thanks.
PL.
PL Guest
-
Error Executing Database Query
I have a website, which is visited by 18.000 unique users a day, who view almost 900.000 pages As you can see, one user views a lot of pages.... -
Error Executing Database Query.
The error occurred in C:\CFusionMX7\wwwroot\CFIDE\gettingstarted\tutorial\index.cfm: line 2 2 : <cfquery name="atrwork"... -
another Error executing database query
Just when I thought I had all my forms finely tuned, I get the error below, which has me stumped (using DrmWeaver 2004, CF7, mysql): Error... -
How to execute an ADO query asynchronously?
Is this a valid code (running in a COM+ component)? VB class (MTSTransactionMode = 1 - NoTransactions): Private Declare Sub Sleep Lib... -
executing SQL query using ASP?
Hi, I've got the following problem and I don't know how to make this (if it's possible at all): I want to make a form where the user can enter...



Reply With Quote

