Solved

dbms messaging in a package

Posted on 2011-03-25
6
297 Views
Last Modified: 2012-05-11
Hi

I wanted to capture the time start , time end and time elapsed in a oracle package and sometimes even on what stage the program is running and how long (estimated) it would take to complete - so that it is user friendly when someone invokes the package and waits until it is done - is there any standards on this and anyone developed any template that can used quickly in a short turnaround for coding and testing? If yes can you guys share?
0
Comment
Question by:mahjag
  • 3
  • 2
6 Comments
 
LVL 74

Accepted Solution

by:
sdstuber earned 50 total points
ID: 35218215
dbms_application_info.set_session_longops

does exactly that
0
 
LVL 77

Expert Comment

by:slightwv (䄆 Netminder)
ID: 35218217
I don't know of anything you can buy to do this.

Typically I just create my own 'timing' table.  Then I can add any rows at any stage I want.  Then report on it however I choose.
0
 
LVL 77

Expert Comment

by:slightwv (䄆 Netminder)
ID: 35218222
>>does exactly that

I stand corrected.
0
Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

 
LVL 74

Expert Comment

by:sdstuber
ID: 35218247
set_session_longops fills in the data

you query status and time remaining from v$session_longops
0
 

Author Comment

by:mahjag
ID: 35221781
can application developer have access to v$session?
0
 
LVL 74

Expert Comment

by:sdstuber
ID: 35222200
yes, and also to v$session_longops.

you'll have to ask your dba to grant you access though
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that use…
This video shows syntax for various backup options while discussing how the different basic backup types work.  It explains how to take full backups, incremental level 0 backups, incremental level 1 backups in both differential and cumulative mode a…
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question