84 lines
4.6 KiB
HTML
84 lines
4.6 KiB
HTML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!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" lang="en-US" xml:lang="en-us">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<meta name="dc.language" scheme="rfc1766" content="en-us" />
|
|
<!-- All rights reserved. Licensed Materials Property of IBM -->
|
|
<!-- US Government Users Restricted Rights -->
|
|
<!-- Use, duplication or disclosure restricted by -->
|
|
<!-- GSA ADP Schedule Contract with IBM Corp. -->
|
|
<meta name="dc.date" scheme="iso8601" content="2005-09-19" />
|
|
<meta name="copyright" content="(C) Copyright IBM Corporation 1998, 2006" />
|
|
<meta name="security" content="public" />
|
|
<meta name="Robots" content="index,follow"/>
|
|
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
|
|
<meta name="keywords" content="DEALLOCATE DESCRIPTOR statement,
|
|
DEALLOCATE DESCRIPTOR, SQL statements, in DEALLOCATE DESCRIPTOR statement,
|
|
SQL-descriptor-name" />
|
|
<title>DEALLOCATE DESCRIPTOR</title>
|
|
<link rel="stylesheet" type="text/css" href="ibmidwb.css" />
|
|
<link rel="stylesheet" type="text/css" href="ic.css" />
|
|
</head>
|
|
<body>
|
|
<a id="Top_Of_Page" name="Top_Of_Page"></a><!-- Java sync-link -->
|
|
<script language = "Javascript" src = "../rzahg/synch.js" type="text/javascript"></script>
|
|
|
|
|
|
<a name="deallocatedescr"></a>
|
|
<h2 id="deallocatedescr"><a href="rbafzmst02.htm#ToC_963">DEALLOCATE DESCRIPTOR</a></h2><a id="idx2199" name="idx2199"></a><a id="idx2200" name="idx2200"></a>
|
|
<p>The DEALLOCATE DESCRIPTOR statement deallocates an SQL descriptor.</p>
|
|
<a name="wq1378"></a>
|
|
<h3 id="wq1378"><a href="rbafzmst02.htm#ToC_964">Invocation</a></h3>
|
|
<p>This statement can only be embedded in an application program,
|
|
SQL function, SQL procedure, or trigger. It cannot be issued interactively.
|
|
It is an executable statement that cannot be dynamically prepared. It must
|
|
not be specified in REXX.</p>
|
|
<a name="wq1379"></a>
|
|
<h3 id="wq1379"><a href="rbafzmst02.htm#ToC_965">Authorization</a></h3>
|
|
<p>None required.</p>
|
|
<a name="wq1380"></a>
|
|
<h3 id="wq1380"><a href="rbafzmst02.htm#ToC_966">Syntax</a></h3>
|
|
<a href="rbafzdeallocatedescr.htm#syndeallocatedescr"><img src="c.gif" alt="Click to skip syntax diagram" /></a>
|
|
<pre class="cgraphic"><span><img src="c.gif" alt="Read syntax diagram" longdesc="rbafzmstsyn314.htm"
|
|
border="0" /></span><a href="#skipsyn-313"><img src="c.gif" alt="Skip visual syntax diagram"
|
|
border="0" /></a> .-SQL-. .-LOCAL--.
|
|
>>-DEALLOCATE--+-----+--DESCRIPTOR--+--------+--<span class="italic">SQL-descriptor-name</span>-><
|
|
'-GLOBAL-'
|
|
|
|
</pre>
|
|
<a name="skipsyn-313" id="skipsyn-313"></a>
|
|
<a name="syndeallocatedescr"></a>
|
|
<h3 id="syndeallocatedescr"><a href="rbafzmst02.htm#ToC_967">Description</a></h3>
|
|
<dl class="parml">
|
|
<dt class="bold">LOCAL</dt>
|
|
<dd>Specifies the scope of the name of the descriptor to be local to program
|
|
invocation. The descriptor known in this local scope is deallocated.
|
|
</dd>
|
|
<dt class="bold">GLOBAL</dt>
|
|
<dd>Specifies the scope of the name of the descriptor to be global to the
|
|
SQL session. The descriptor known to any program that executes using the same
|
|
database connection is deallocated.
|
|
</dd>
|
|
<dt class="bold"><var class="pv">SQL-descriptor-name</var></dt>
|
|
<dd>Names the descriptor to deallocate. The name must identify a descriptor
|
|
that already exists with the specified scope.<a id="idx2201" name="idx2201"></a>
|
|
</dd>
|
|
</dl>
|
|
<a name="wq1381"></a>
|
|
<h3 id="wq1381"><a href="rbafzmst02.htm#ToC_968">Notes</a></h3>
|
|
<p><span class="bold">Descriptor persistence:</span> Local and global descriptors
|
|
are also implicitly deallocated. For more information, see <a href="rbafzallocatedescr.htm#descrpersist">Descriptor persistence</a></p>
|
|
<a name="wq1382"></a>
|
|
<h3 id="wq1382"><a href="rbafzmst02.htm#ToC_969">Examples</a></h3>
|
|
<p>Deallocate a descriptor called 'NEWDA'. </p>
|
|
<pre class="xmp"> EXEC SQL <span class="bold">DEALLOCATE DESCRIPTOR</span> 'NEWDA'</pre>
|
|
<hr /><br />
|
|
[ <a href="#Top_Of_Page">Top of Page</a> | <a href="rbafzmsthcview.htm">Previous Page</a> | <a href="rbafzmsth2clcu.htm">Next Page</a> | <a href="rbafzmst02.htm#wq1">Contents</a> |
|
|
<a href="rbafzmstindex.htm#index">Index</a> ]
|
|
|
|
<a id="Bot_Of_Page" name="Bot_Of_Page"></a>
|
|
</body>
|
|
</html>
|