Join the OracleApps88 Telegram group @OracleApps88to get more information on Oracle EBS R12/Oracle Fusion applications.

If you are facing any issues while copying the Code/Script or any issues with Posts, Please send a mail to OracleApp88@Yahoo.com or message me at @apps88 or +91 905 957 4321 in telegram.

Wednesday, June 22, 2011

Submitting Job Query

DECLARE
l_job number;
BEGIN
DBMS_JOB.SUBMIT(l_job,'DBMS_MVIEW.REFRESH(''VIEW_LICENSE_TS_MAIN_IB_NEW_MV'');');
DBMS_OUTPUT.PUT_LINE('JOB : '||l_job);
COMMIT;
END;

=========================

SELECT * FROM USER_JOBS WHERE JOB= 63362

=====================
Job locks
====================
SELECT SID, TYPE, ID1, ID2
FROM V$LOCK
WHERE TYPE = 'JQ';

No comments:

Post a Comment

If you are facing any issues while copying the Code/Script or any issues with Posts, Please send a mail to OracleApp88@Yahoo.com or message me at @apps88 or +91 905 957 4321 in telegram.
Best Blogger TipsGet Flower Effect