Edit D:\app\Administrator\product\11.2.0\dbhome_1\apex\images\doc\AEAPI\apex_item006.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="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=us-ascii" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <meta http-equiv="Content-Script-Type" content="text/javascript" /> <title>MD5_HIDDEN Function</title> <meta name="generator" content="Oracle DARB XHTML Converter (Mode = ohj/ohw) - Version 5.1" /> <meta name="date" content="2009-04-14T17:32:16Z" /> <meta name="robots" content="noarchive" /> <meta name="doctitle" content="MD5_HIDDEN Function" /> <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_item.htm" title="APEX_ITEM" type="text/html" /> <link rel="up" href="apex_item006.htm" title="MD5_HIDDEN Function" type="text/html" /> <link rel="prev" href="apex_item005.htm" title="Previous" type="text/html" /> <link rel="next" href="apex_item007.htm" title="Next" type="text/html" /> </head> <body> <p id="BREADCRUMBING"><a href="preface" title="Home">Home</a> > <a href="apex_item.htm" title="APEX_ITEM">APEX_ITEM</a> > MD5_HIDDEN Function</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_item005.htm"><img src="../dcommon/gifs/leftnav.gif" alt="Previous" /><br /> <span class="icon">Previous</span></a> </td> <td align="center"><a href="apex_item007.htm"><img src="../dcommon/gifs/rightnav.gif" alt="Next" /><br /> <span class="icon">Next</span></a></td> </tr> </table> <p><a id="CHDHJDBE" name="CHDHJDBE"></a></p> <hr /> <div class="refsect1"> <h1><a name="AEAPI198" id="AEAPI198"></a>MD5_HIDDEN <a id="sthref546" name="sthref546"></a>Function</h1> <p>This function is used for lost update detection. Lost update detection ensures data integrity in applications where data can be accessed concurrently.</p> <p>This function produces a hidden form field and includes 50 inputs. <code>APEX_ITEM</code>.<code>MD5_HIDDEN</code> also produces an MD5 checksum using the Oracle database <code>DBMS_OBFUSCATION_TOOLKIT</code>:</p> <pre xml:space="preserve" class="oac_no_warn"> UTL_RAW.CAST_TO_RAW(DBMS_OBFUSCATION_TOOLKIT.MD5()) </pre> <p>An MD5 checksum provides data integrity through hashing and sequencing to ensure that data is not altered or stolen as it is transmitted over a network</p> <a id="sthref547" name="sthref547"></a> <p class="subhead2">Syntax</p> <pre xml:space="preserve" class="oac_no_warn"> APEX_ITEM.MD5_HIDDEN( p_idx IN NUMBER, p_value01 IN VARCHAR2 DEFAULT NULL, p_value02 IN VARCHAR2 DEFAULT NULL, p_value03 IN VARCHAR2 DEFAULT NULL, ... p_value50 IN VARCHAR2 DEFAULT NULL, p_col_sep IN VARCHAR2 DEFAULT '|') RETURN VARCHAR2; </pre> <a id="sthref548" name="sthref548"></a> <p class="subhead2">Parameters</p> <p><a href="#CHDBFDEB">Table: MD5_HIDDEN Parameters</a> describes the parameters available in the <code>MD5_HIDDEN</code> function.</p> <div class="tblformal"><a id="sthref549" name="sthref549"></a><a id="CHDBFDEB" name="CHDBFDEB"></a> <p class="titleintable">MD5_HIDDEN Parameters</p> <table class="Formal" title="MD5_HIDDEN Parameters" summary="This table describes the parameters available in MD5_HIDDEN." dir="ltr" border="1" width="100%" frame="hsides" rules="groups" cellpadding="3" cellspacing="0"> <col width="21%" /> <col width="*" /> <thead> <tr align="left" valign="top"> <th align="left" valign="bottom" id="r1c1-t8">Parameter</th> <th align="left" valign="bottom" id="r1c2-t8">Description</th> </tr> </thead> <tbody> <tr align="left" valign="top"> <td align="left" id="r2c1-t8" headers="r1c1-t8"> <p><code>p_idx</code></p> </td> <td align="left" headers="r2c1-t8 r1c2-t8"> <p>Indicates the form element to be generated. For example, 1 equals <code>F01</code> and 2 equals <code>F02</code>. Typically the <code>p_idx</code> parameter is constant for a given column</p> </td> </tr> <tr align="left" valign="top"> <td align="left" id="r3c1-t8" headers="r1c1-t8"> <p><code>p_value</code><code>01</code></p> <p>...</p> <p><code>p_value</code><code>50</code></p> </td> <td align="left" headers="r3c1-t8 r1c2-t8"> <p>Fifty available inputs. Parameters not supplied default to NULL</p> </td> </tr> <tr align="left" valign="top"> <td align="left" id="r4c1-t8" headers="r1c1-t8"> <p><code>p_col_sep</code></p> </td> <td align="left" headers="r4c1-t8 r1c2-t8"> <p>String used to separate <code>p_value</code> inputs. Defaults to the pipe symbol (|)</p> </td> </tr> </tbody> </table> <br /></div> <!-- class="tblformal" --> <a id="sthref550" name="sthref550"></a> <p class="subhead2">Example</p> <p>The <code>p_idx</code> parameter specifies the FXX form element to be generated. In the following example, 7 generates <code>F07</code>. Also note that an HTML hidden form element will be generated.</p> <pre xml:space="preserve" class="oac_no_warn"> SELECT APEX_ITEM.MD5_HIDDEN(7,ename,job,sal)md5_h, ename, job, sal FROM emp </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 © 2003, 2009, Oracle and/or its affiliates. All rights reserved.</span><br /> <a href="../dcommon/html/cpyr.htm"><span class="copyrightlogo">Legal Notices</span></a></td> <td align="center"><a href="apex_item005.htm"><img src="../dcommon/gifs/leftnav.gif" alt="Previous" /><br /> <span class="icon">Previous</span></a> </td> <td align="center"><a href="apex_item007.htm"><img src="../dcommon/gifs/rightnav.gif" alt="Next" /><br /> <span class="icon">Next</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