Edit D:\app\Administrator\product\11.2.0\dbhome_1\apex\images\doc\ja\advnc_backplsql.htm
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ja" lang="ja"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <meta http-equiv="Content-Script-Type" content="text/javascript" /> <title>??????????????????????????L/SQL?????</title> <meta name="generator" content="Oracle DARB XHTML Converter (Mode = ohj/ohw) - Version 5.1" /> <meta name="date" content="2009-04-14T16:11:32Z" /> <meta name="robots" content="noarchive" /> <meta name="doctitle" content="Using a Process to Implement Background PL/SQL" /> <meta name="relnum" content="Release 3.2" /> <meta name="partnum" content="E11947-01" /> <link rel="copyright" href="dcommon/html/cpyr.htm" title="Copyright" type="text/html" /> <link rel="stylesheet" href="dcommon/css/blafdoc.css" title="Oracle BLAFDoc" type="text/css" /> <link rel="contents" href="toc.htm" title="Contents" type="text/html" /> <link rel="up" href="preface.htm" title="Home" type="text/html" /> <link rel="up" href="advnc.htm" title="Advanced Programming Techni..." type="text/html" /> <link rel="up" href="advnc_plsql.htm" title="Running Background PL/SQL" type="text/html" /> <link rel="up" href="advnc_backplsql.htm" title="Using a Process to Implemen..." type="text/html" /> <link rel="prev" href="advnc_sys_updates.htm" title="Previous" type="text/html" /> <link rel="next" href="advnc_web_services.htm" title="Next" type="text/html" /> </head> <body> <p id="BREADCRUMBING"><a href="preface.htm" title="?????">?????</a> > <a href="advnc.htm" title="??????????????????">??????????????????</a> > <a href="advnc_plsql.htm" title="????????????PL/SQL?????">????????????PL/SQL?????</a> > ??????????????????????????L/SQL?????</p> <table class="simple oac_no_warn" summary="" cellspacing="0" cellpadding="0" width="100%"> <col width="86%" /> <col width="*" /> <tr valign="bottom"> <td align="left"></td> <td align="center"><a href="advnc_sys_updates.htm"><img src="dcommon/gifs/leftnav.gif" alt="???" /><br /><span class="icon">???</span></a> </td> <td align="center"><a href="advnc_web_services.htm"><img src="dcommon/gifs/rightnav.gif" alt="?°?" /><br /><span class="icon">?°?</span></a></td> </tr> </table> <p><a id="BABHIHBG" name="BABHIHBG"></a></p> <div class="sect2"><!-- infolevel="all" infotype="General" --> <h1><a name="HTMDB25881" id="HTMDB25881"></a>??????????????????????????<a id="sthref2245" name="sthref2245"></a><a id="sthref2246" name="sthref2246"></a>PL/SQL?????</h1> <p>?????????????????L/SQL????????????????????????????????????????</p> <pre xml:space="preserve" class="oac_no_warn"> 001 BEGIN 002 FOR i IN 1 .. 100 LOOP 003 INSERT INTO emp(a,b) VALUES (:APP_JOB,i); 004 IF MOD(i,10) = 0 THEN 005 APEX_PLSQL_JOB.UPDATE_JOB_STATUS( 006 P_JOB => :APP_JOB, 007 P_STATUS => i || 'rows inserted'); 008 END IF; 009 APEX_UTIL.PAUSE(2); 010 END LOOP; 011 END; </pre> <p>??????????????????????</p> <ul> <li> <p>002???010???????100???????????<code>emp</code>?????????????????????????</p> </li> <li> <p><code>APP_JOB</code>????NSERT??ALUE??????????????????????????<code>UPDATE_JOB_STATUS</code>???????????<code>P_JOB</code>????°?????????????????????</p> </li> <li> <p><code>APP_JOB</code>????<code>APEX_PLSQL_JOB</code>?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????</p> </li> <li> <p>???????????????????????????10??????????????<code>UPDATE_JOB_STATUS</code>??????????????????????????????????racle????????????????????????????????????????????????????????????????????????????????????????????????<code>APEX_PLSQL_JOB.UPDATE_JOB_STATUS</code>????????????????????????????????????????????????????????????????????????????????????2?????????????????</p> <ol> <li> <p>??100?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????<code>APEX_PLSQL_JOBS</code>??<code>user_status</code>?????????????????</p> </li> <li> <p>???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????</p> </li> </ol> </li> </ul> </div> <!-- class="sect2" --> <!-- class="sect1" --> <!-- Start Footer --> <div class="footer"> <table class="simple oac_no_warn" summary="" cellspacing="0" cellpadding="0" width="100%"> <col width="86%" /> <col width="*" /> <tr> <td align="left"><span class="copyrightlogo">Copyright (C) 2003, 2009, Oracle and/or its affiliates. All rights reserved.</span><br /> <a href="dcommon/html/cpyr.htm"> <span class="copyrightlogo">???????????</span></a></td> <td align="center"><a href="advnc_sys_updates.htm"><img src="dcommon/gifs/leftnav.gif" alt="???" /><br /><span class="icon">???</span></a> </td> <td align="center"><a href="advnc_web_services.htm"><img src="dcommon/gifs/rightnav.gif" alt="?°?" /><br /><span class="icon">?°?</span></a></td> </tr> </table> </div> <!-- class="footer" --> </body> </html>
Ms-Dos/Windows
Unix
Write backup
jsp File Browser version 1.2 by
www.vonloesch.de