Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: writing records while doing select.

Re: writing records while doing select.

From: <stevedhoward_at_gmail.com>
Date: 1 May 2006 10:18:15 -0700
Message-ID: <1146503895.171718.77970@j73g2000cwa.googlegroups.com>


A session can only do one thing at once, unless you thread a call to another method that is posted when the select completes. You would have to write your procedure as an external procedure, or better yet, a Java stored procedure in the database that your Crytsal Report invokes as its data source. You could also use DBM_JOBS as your thread source.  That sounds really ugly, though. Talk about re-inventing the wheel...

Why not just turn on trace? It captures the exact time statement is run in microseconds relative to an arbitrary epoch. You can always parse the trace file later and do the math to get the difference (and associated run time).

Regards,

Steve Received on Mon May 01 2006 - 12:18:15 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US