Edit D:\app\Administrator\product\11.2.0\dbhome_1\apex\images\doc\ja\AEAPI\apex_plsql_job005.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>UPDATE_JOB_STATUS?????????</title> <meta name="generator" content="Oracle DARB XHTML Converter (Mode = ohj/ohw) - Version 5.1" /> <meta name="date" content="2009-04-14T17:32:17Z" /> <meta name="robots" content="noarchive" /> <meta name="doctitle" content="UPDATE_JOB_STATUS Procedure" /> <meta name="relnum" content="Release 3.2" /> <meta name="partnum" content="E12510-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" title="Home" type="text/html" /> <link rel="up" href="apex_plsql_job.htm" title="APEX_PLSQL_JOB" type="text/html" /> <link rel="up" href="apex_plsql_job005.htm" title="UPDATE_JOB_ST..." type="text/html" /> <link rel="prev" href="apex_plsql_job004.htm" title="Previous" type="text/html" /> <link rel="next" href="apex_lang.htm" title="Next" type="text/html" /> </head> <body> <p id="BREADCRUMBING"><a href="preface" title="?????">?????</a> > <a href="apex_plsql_job.htm" title="APEX_PLSQL_JOB">APEX_PLSQL_JOB</a> > UPDATE_JOB_STATUS?????????</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="apex_plsql_job004.htm"><img src="../dcommon/gifs/leftnav.gif" alt="???" /><br /><span class="icon">???</span></a> </td> <td align="center"><a href="apex_lang.htm"><img src="../dcommon/gifs/rightnav.gif" alt="?°?" /><br /><span class="icon">?°?</span></a></td> </tr> </table> <p><a id="BGBHHCHH" name="BGBHHCHH"></a></p> <hr /> <div class="refsect1"> <h1><a id="sthref1089" name="sthref1089"></a>UPDATE_JOB_STATUS?????????</h1> <p>??????????????????????????????????????????????????????????????????????????????????????L/SQL????????????????????????????</p> <a id="sthref1090" name="sthref1090"></a> <p class="subhead2">???</p> <pre xml:space="preserve" class="oac_no_warn"> APEX_PLSQL_JOB.UPDATE_JOB_STATUS ( p_job IN NUMBER, p_status IN VARCHAR2); </pre> <a id="sthref1091" name="sthref1091"></a> <p class="subhead2">????°???</p> <p><a href="#BGBHJHDE">????PDATE_JOB_STATUS????°?????</a>????PDATE_JOB_STATUS??????????????????????°????????????</p> <div class="tblformal"><a id="sthref1092" name="sthref1092"></a><a id="BGBHJHDE" name="BGBHJHDE"></a> <p class="titleintable">UPDATE_JOB_STATUS????°???</p> <table class="Formal" title="UPDATE_JOB_STATUS????°???" summary="??????????EMOVE_PREFERENCE??????????????????????°??????????????????" dir="ltr" border="1" width="100%" frame="hsides" rules="groups" cellpadding="3" cellspacing="0"> <col width="41%" /> <col width="*" /> <thead> <tr align="left" valign="top"> <th align="left" valign="bottom" id="r1c1-t5">????°???</th> <th align="left" valign="bottom" id="r1c2-t5">???</th> </tr> </thead> <tbody> <tr align="left" valign="top"> <td align="left" id="r2c1-t5" headers="r1c1-t5"> <p><code>p_job</code></p> </td> <td align="left" headers="r2c1-t5 r1c2-t5"> <p>?????OB???????????????????????????????????JOB??????????????????????????</p> </td> </tr> <tr align="left" valign="top"> <td align="left" id="r3c1-t5" headers="r1c1-t5"> <p>p_status</p> </td> <td align="left" headers="r3c1-t5 r1c2-t5"> <p>??????????????????????</p> <p><code>JOB: p_job</code>.</p> </td> </tr> </tbody> </table> <br /></div> <!-- class="tblformal" --> <a id="sthref1093" name="sthref1093"></a> <p class="subhead2">??</p> <p>?°??????PDATE_JOB_STATUS???????????????????????????????????????????????????????????</p> <ul> <li> <p>002???010???????100???????????mp?????????????????????????</p> </li> <li> <p><code>APP_JOB</code>????<code>INSERT</code>??<code>VALUES</code>??????????????????????????<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 rows inserted???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????<code>APEX_PLSQL_JOBS</code>??ser_status?????????????????</p> </li> <li> <p>???????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????</p> </li> </ol> </li> </ul> <pre xml:space="preserve" class="oac_no_warn"> BEGIN FOR i IN 1 .. 100 LOOP INSERT INTO emp(a,b) VALUES (:APP_JOB,i); IF MOD(i,10) = 0 THEN APEX_PLSQL_JOB.UPDATE_JOB_STATUS( P_JOB => :APP_JOB, P_STATUS => i || ' rows inserted'); END IF; APEX_UTIL.PAUSE(2); END LOOP; END; </pre></div> <!-- class="refsect1" --> <!-- 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="apex_plsql_job004.htm"><img src="../dcommon/gifs/leftnav.gif" alt="???" /><br /><span class="icon">???</span></a> </td> <td align="center"><a href="apex_lang.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