There are couple of
options to find out the database name for the current session. If you are a DBA
a privileged user/session you can query any data dictionary views. But it is
not the same case for non-dba user session.
Here are the options.
SQL>SELECT JOB, SUBSTR(WHAT,1,45), LAST_DATE, NEXT_DATE, NEXT_SEC, BROKEN FROM DBA_JOBS;
JOB SUBSTR(WHAT,1,45) LAST_DATE NEXT_DATE NEXT_SEC B
---------- --------------------------------------------- ------------------- ------------------- -------- -
41 pk_cost.p_start_cost_batch; 2014-01-30 11:35:30 2014-01-30 11:55:30 11:55:30 N
48 DBMS_JOB.NEXT_DATE ( 41,to_date(sysdate + 5/4 2014-01-29 23:44:17 2014-01-30 23:44:17 23:44:17 N
A thousand may fall at your side, ten thousand at your right hand, but it will not come near you. (Psalm 91:7)
acehints.com Copyright 2011-23 All Rights Reserved | Site Map | Contact | Disclaimer