<html> <head> <title>Constants' Group CommandType</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <link rel="stylesheet" type="text/css" href="../../../../idl.css"> </head> <body> <div id="adc-idlref"> <a name="_top_"> </a><table class="navimain" border="0" cellpadding="3"> <tr> <td class="navimain"><a href="../module-ix.html" class="navimain">Overview</a></td> <td class="navimain"><a href="module-ix.html" class="navimain">Module</a></td> <td class="navimainnone">Use</td> <td class="navimain"><a href="http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/Database/PreparedStatement_From_DataSource_Queries" class="navimain">Devguide</a></td> <td class="navimain"><a href="../../../../index-files/index-1.html" class="navimain">Index</a></td> </tr> </table> <table class="navisub" border="0" cellpadding="0"> <tr> <td class="navisub"><a href="#Constants" class="navisub">Constants</a></td> <td class="navisub"><a href="#ConstantDetails" class="navisub">Constants' Details</a></td> </tr> </table> <hr> <table border="0" width="100%" cellpadding="5" cellspacing="3" class="title-table" style="margin-bottom:6pt;"> <tr> <td><p class="namechain"><a href="../../../../module-ix.html" class="namechain">::</a> <a href="../../../module-ix.html" class="namechain">com</a> :: <a href="../../module-ix.html" class="namechain">sun</a> :: <a href="../module-ix.html" class="namechain">star</a> :: <a href="module-ix.html" class="namechain">sdb</a> :: </p> </td> </tr> <tr> <td class="title">constants group CommandType</td> </tr> <tr> <td><dl> <dt><b>Description</b></dt> <dd>indicates the type of a command. </dd> </dl> <a name="devmanual"> </a><dl> <dt><b>Developers Guide</b></dt> <dd><a href="http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/Database/PreparedStatement_From_DataSource_Queries">Database - PreparedStatement From DataSource Queries</a></dd> </dl> </td> </tr> </table> <hr> <a name="Constants"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle" colspan="2">Constants</td> </tr> <tr> <td class="imsum_left"><a href="#TABLE">TABLE</a></td> <td class="imsum_right">indicates that a command contains a table name, which can be used to process a command like "select * from tablename". </td> </tr> <tr> <td class="imsum_left"><a href="#QUERY">QUERY</a></td> <td class="imsum_right">indicates that a command contains a name of a query component, which contains a certain statement. </td> </tr> <tr> <td class="imsum_left"><a href="#COMMAND">COMMAND</a></td> <td class="imsum_right">indicates that the command is an SQL-Statement. </td> </tr> </table> <a name="ConstantDetails"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle"> <tr> <td class="subtitle">Constants' Details</td> </tr> <tr> <td class="imdetail"><a name="TABLE" class="membertitle">TABLE</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>const long <b>TABLE</b> = 0;<hr> <dl> <dt><b>Description</b></dt> <dd>indicates that a command contains a table name, which can be used to process a command like "select * from tablename". </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="QUERY" class="membertitle">QUERY</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>const long <b>QUERY</b> = 1;<hr> <dl> <dt><b>Description</b></dt> <dd>indicates that a command contains a name of a query component, which contains a certain statement. </dd> </dl> </td> </tr> </table> </td> </tr> <tr> <td class="imdetail"><a name="COMMAND" class="membertitle">COMMAND</a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center"> <tr> <td>const long <b>COMMAND</b> = 2;<hr> <dl> <dt><b>Description</b></dt> <dd>indicates that the command is an SQL-Statement. </dd> </dl> </td> </tr> </table> </td> </tr> </table> <a href="#_top_">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright © 2008 Sun Microsystems, Inc.</p> </div> <!-- id="adc-idlref" --> </body> </html>