Edit D:\app\Administrator\product\11.2.0\dbhome_1\apex\images\doc\AEAPI\apex_item005.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_CHECKSUM 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_CHECKSUM 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_item005.htm" title="MD5_CHECKSUM Function" type="text/html" /> <link rel="prev" href="apex_item004.htm" title="Previous" type="text/html" /> <link rel="next" href="apex_item006.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_CHECKSUM 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_item004.htm"><img src="../dcommon/gifs/leftnav.gif" alt="Previous" /><br /> <span class="icon">Previous</span></a> </td> <td align="center"><a href="apex_item006.htm"><img src="../dcommon/gifs/rightnav.gif" alt="Next" /><br /> <span class="icon">Next</span></a></td> </tr> </table> <p><a id="CHDHHGIG" name="CHDHHGIG"></a></p> <hr /> <div class="refsect1"> <h1><a name="AEAPI197" id="AEAPI197"></a>MD5_CHECKSUM <a id="sthref541" name="sthref541"></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 hidden form field(s) with a name attribute equal to 'fcs' and includes 50 inputs. APEX_ITEM.MD5_CHECKSUM also produces an MD5 checksum using the Oracle database DBMS_OBFUSCATION_TOOLKIT:</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="sthref542" name="sthref542"></a> <p class="subhead2">Syntax</p> <pre xml:space="preserve" class="oac_no_warn"> APEX_ITEM.MD5_CHECKSUM( 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="sthref543" name="sthref543"></a> <p class="subhead2">Parameters</p> <p><a href="#BABBAICB">Table: MD5_CHECKSUM Parameters</a> describes the parameters available in the <code>MD5_CHECKSUM</code> function.</p> <div class="tblformal"><a id="sthref544" name="sthref544"></a><a id="BABBAICB" name="BABBAICB"></a> <p class="titleintable">MD5_CHECKSUM Parameters</p> <table class="Formal" title="MD5_CHECKSUM Parameters" summary="This table describes the parameters available in MD5_CHECKSUM." 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-t7">Parameter</th> <th align="left" valign="bottom" id="r1c2-t7">Description</th> </tr> </thead> <tbody> <tr align="left" valign="top"> <td align="left" id="r2c1-t7" headers="r1c1-t7"> <p><code>p_value01</code></p> <p>...</p> <p><code>p_value50</code></p> </td> <td align="left" headers="r2c1-t7 r1c2-t7"> <p>Fifty available inputs. If no parameters are supplied, the default to NULL</p> </td> </tr> <tr align="left" valign="top"> <td align="left" id="r3c1-t7" headers="r1c1-t7"> <p><code>p_col_sep</code></p> </td> <td align="left" headers="r3c1-t7 r1c2-t7"> <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="sthref545" name="sthref545"></a> <p class="subhead2">Example</p> <p>This function generates hidden form elements with the name '<code>fcs</code>'. The values can subsequently be accessed via the <code>APEX_APPLICATION.G_FCS array</code>.</p> <pre xml:space="preserve" class="oac_no_warn"> SELECT APEX_ITEM.MD5_CHECKSUM(ename,job,sal) md5_cks, 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_item004.htm"><img src="../dcommon/gifs/leftnav.gif" alt="Previous" /><br /> <span class="icon">Previous</span></a> </td> <td align="center"><a href="apex_item006.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