J
Jean-Francois Bouthillier
Hi all,
I have a database that has a table containing completed
steps with corresponding dates. In other words, this
table has records containing for example:
Step A -> 11-Oct
Step B -> 28-Oct
etc.
In order to see how much time a particular step takes, I
built a function that creates a recordset with
ADODB.Recordset and ADODB.Connection and makes the
difference between the two completed dates.
There is a query that calls the above function for all
entries. As you probably guessed, this query is very
slow.
Would you have any recommendations? Should I close the
recordset or the connection at the end of the function,
so that it is closed every function execution?
Thank you very much for your help.
Jean-Francois
I have a database that has a table containing completed
steps with corresponding dates. In other words, this
table has records containing for example:
Step A -> 11-Oct
Step B -> 28-Oct
etc.
In order to see how much time a particular step takes, I
built a function that creates a recordset with
ADODB.Recordset and ADODB.Connection and makes the
difference between the two completed dates.
There is a query that calls the above function for all
entries. As you probably guessed, this query is very
slow.
Would you have any recommendations? Should I close the
recordset or the connection at the end of the function,
so that it is closed every function execution?
Thank you very much for your help.
Jean-Francois