Edit D:\app\Administrator\product\11.2.0\dbhome_1\apex\images\doc\advnc_coll_del_mem.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>Deleting Collection Members</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="Deleting Collection Members" /> <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_collections.htm" title="Using Collections" type="text/html" /> <link rel="up" href="advnc_coll_del_mem.htm" title="Deleting Collection Members" type="text/html" /> <link rel="prev" href="advnc_coll_updt.htm" title="Previous" type="text/html" /> <link rel="next" href="advnc_coll_status.htm" title="Next" type="text/html" /> </head> <body> <p id="BREADCRUMBING"><a href="preface.htm" title="Home">Home</a> > <a href="advnc.htm" title="Advanced Programming Techni...">Advanced Programming Techni...</a> > <a href="advnc_collections.htm" title="Using Collections">Using Collections</a> > Deleting Collection Members</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_coll_updt.htm"><img src="dcommon/gifs/leftnav.gif" alt="Previous" /><br /> <span class="icon">Previous</span></a> </td> <td align="center"><a href="advnc_coll_status.htm"><img src="dcommon/gifs/rightnav.gif" alt="Next" /><br /> <span class="icon">Next</span></a></td> </tr> </table> <p><a id="BABHHGJC" name="BABHHGJC"></a></p> <div class="sect2"><!-- infolevel="all" infotype="General" --> <h1><a name="HTMDB25869" id="HTMDB25869"></a>Deleting Collection <a id="sthref2214" name="sthref2214"></a>Members</h1> <p>You can delete a collection member by calling the <code>DELETE_MEMBER</code> procedure and referencing the desired collection member by its sequence ID, for example:</p> <pre xml:space="preserve" class="oac_no_warn"> <a id="sthref2215" name="sthref2215"></a>APEX_COLLECTION.DELETE_MEMBER( p_collection_name => collection name, p_seq => member sequence number); </pre> <p>Note that this procedure leaves a gap in the sequence IDs in the specified collection. In addition, calling this procedure causes an error if the named collection does not exist.</p> <p>You can also delete all members from a collection by when an attribute matches a specific value, for example:</p> <pre xml:space="preserve" class="oac_no_warn"> <a id="sthref2216" name="sthref2216"></a>APEX_COLLECTION.DELETE_MEMBERS( p_collection_name => collection name, p_attr_number => number of attribute used to match for the specified attribute value for deletion, p_attr_value => attribute value of the member attribute used to match for deletion); </pre> <p>Note that the <code>DELETE_MEMBERS</code> procedure also leaves a gap in the sequence IDs in the specified collection. This procedure causes an error if:</p> <ul> <li> <p>The named collection does not exist.</p> </li> <li> <p>The specified attribute number is outside the range of 1 to 50, or not valid.</p> </li> </ul> <p>If the supplied attribute value is null, then all members of the named collection will be deleted where the attribute (specified by p_attr_number) is null.</p> </div> <!-- class="sect2" --> <!-- 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="advnc_coll_updt.htm"><img src="dcommon/gifs/leftnav.gif" alt="Previous" /><br /> <span class="icon">Previous</span></a> </td> <td align="center"><a href="advnc_coll_status.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