Creating a SQL-query Progress-Bar [message #111673] |
Fri, 18 March 2005 09:55 |
cosmo
Messages: 2 Registered: March 2005
|
Junior Member |
|
|
Hi guys,
In my program (which runs on oracle 9i) I perform some very heavy queries (which might take up to 10 minutes or so).
The user has the ability to cancel a query, using the Statement.cancel() method.
I would like to add a progress bar which will help the user make up his mind whether to cancel the query or not.
After doing some research I found out that the answer is probably in v$session_longops.
But I didn't understand how am I supposed to do it.
Does anyone here has a code snippet which does something similar?
I would really appreciate any help in this matter.
|
|
|
|