group__constants.html
来自「一个很好用的Linux/Unix下Oracle OCI开发接口封装库」· HTML 代码 · 共 451 行 · 第 1/2 页
HTML
451 行
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>Constants</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.2.18 --><center><a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="modules.html">Modules</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="globals.html">Globals</a> <a class="qindex" href="pages.html">Related Pages</a> <a class="qindex" href="examples.html">Examples</a> </center><hr><h1>Constants</h1><table border=0 cellpadding=0 cellspacing=0><tr><td></td></tr><tr><td colspan=2><br><h2>Enumerations</h2></td></tr><tr><td nowrap align=right valign=top>enum </td><td valign=bottom><a class="el" href="group__constants.html#a3">sqlo_status_codes</a> { <br> <a class="el" href="group__constants.html#a3a25">SQLO_SUCCESS</a> = 0, <a class="el" href="group__constants.html#a3a26">SQLO_ERROR</a> = -1, <br> <a class="el" href="group__constants.html#a3a27">SQLO_INVALID_HANDLE</a> = -2, <a class="el" href="group__constants.html#a3a28">SQLO_STILL_EXECUTING</a> = -3123, <br> <a class="el" href="group__constants.html#a3a29">SQLO_CONTINUE</a> = -24200, <a class="el" href="group__constants.html#a3a30">SQLO_SUCCESS_WITH_INFO</a> = 1, <br> <a class="el" href="group__constants.html#a3a31">SQLO_NEED_DATA</a> = 99, <a class="el" href="group__constants.html#a3a32">SQLO_NO_DATA</a> = 100<br> }</td></tr><tr><td> </td><td><font size=-1><em>Constants defining the return codes of the functions.</em> <a href="#a3">More...</a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top>enum </td><td valign=bottom><a class="el" href="group__constants.html#a4">sqlo_error_codes</a> { <br> <a class="el" href="group__constants.html#a4a33">SQLO_ERROR_BASE</a> = -30000, <a class="el" href="group__constants.html#a4a34">SQLO_INVALID_DB_HANDLE</a> = (SQLO_ERROR_BASE - 1), <br> <a class="el" href="group__constants.html#a4a35">SQLO_ERRMALLOC</a> = (SQLO_ERROR_BASE - 2), <a class="el" href="group__constants.html#a4a36">SQLO_INVALID_STMT_HANDLE</a> = (SQLO_ERROR_BASE - 3), <br> <a class="el" href="group__constants.html#a4a37">SQLO_STMT_NOT_OPENED</a> = (SQLO_ERROR_BASE - 4), <a class="el" href="group__constants.html#a4a38">SQLO_INVALID_STMT_TYPE</a> = (SQLO_ERROR_BASE - 5), <br> <a class="el" href="group__constants.html#a4a39">SQLO_STMT_NOT_PARSED</a> = (SQLO_ERROR_BASE - 6), <a class="el" href="group__constants.html#a4a40">SQLO_INVALID_OCI_HANDLE_TYPE</a> = (SQLO_ERROR_BASE - 7), <br> <a class="el" href="group__constants.html#a4a41">SQLO_MALFORMED_VERSION_STR</a> = (SQLO_ERROR_BASE - 8), <a class="el" href="group__constants.html#a4a42">SQLO_WRONG_VERSION</a> = (SQLO_ERROR_BASE - 9), <br> <a class="el" href="group__constants.html#a4a43">SQLO_INVALID_COLPOS</a> = (SQLO_ERROR_BASE - 10), <a class="el" href="group__constants.html#a4a44">SQLO_INVALID_SQL</a> = (SQLO_ERROR_BASE -11)<br> }</td></tr><tr><td> </td><td><font size=-1><em>Constants defining error codes returned by the library.</em> <a href="#a4">More...</a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top>enum </td><td valign=bottom><a class="el" href="group__constants.html#a5">sqlo_constants</a> { <br> <a class="el" href="group__constants.html#a5a45">SQLO_OFF</a> = 0, <a class="el" href="group__constants.html#a5a46">SQLO_ON</a> = 1, <br> <a class="el" href="group__constants.html#a5a47">SQLO_NULL_IND</a> = -1, <a class="el" href="group__constants.html#a5a48">SQLO_NOT_NULL_IND</a> = 0, <br> <a class="el" href="group__constants.html#a5a49">SQLO_STH_INIT</a> = -1, <a class="el" href="group__constants.html#a5a50">SQLO_ONE_PIECE</a> = 0, <br> <a class="el" href="group__constants.html#a5a51">SQLO_FIRST_PIECE</a> = 1, <a class="el" href="group__constants.html#a5a52">SQLO_NEXT_PIECE</a> = 2, <br> <a class="el" href="group__constants.html#a5a53">SQLO_LAST_PIECE</a> = 3<br> }</td></tr><tr><td> </td><td><font size=-1><em>Some constants used to pass to the functions.</em> <a href="#a5">More...</a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top>enum </td><td valign=bottom><a class="el" href="group__constants.html#a6">sqlo_data_types</a> { <br> <a class="el" href="group__constants.html#a6a54">SQLOT_CHR</a> = 1, <a class="el" href="group__constants.html#a6a55">SQLOT_NUM</a> = 2, <br> <a class="el" href="group__constants.html#a6a56">SQLOT_INT</a> = 3, <a class="el" href="group__constants.html#a6a57">SQLOT_FLT</a> = 4, <br> <a class="el" href="group__constants.html#a6a58">SQLOT_STR</a> = 5, <a class="el" href="group__constants.html#a6a59">SQLOT_VNU</a> = 6, <br> <a class="el" href="group__constants.html#a6a60">SQLOT_PDN</a> = 7, <a class="el" href="group__constants.html#a6a61">SQLOT_LNG</a> = 8, <br> <a class="el" href="group__constants.html#a6a62">SQLOT_VCS</a> = 9, <a class="el" href="group__constants.html#a6a63">SQLOT_NON</a> = 10, <br> <a class="el" href="group__constants.html#a6a64">SQLOT_RID</a> = 11, <a class="el" href="group__constants.html#a6a65">SQLOT_DAT</a> = 12, <br> <a class="el" href="group__constants.html#a6a66">SQLOT_VBI</a> = 15, <a class="el" href="group__constants.html#a6a67">SQLOT_BIN</a> = 23, <br> <a class="el" href="group__constants.html#a6a68">SQLOT_LBI</a> = 24, <a class="el" href="group__constants.html#a6a69">SQLOT_UIN</a> = 68, <br> <a class="el" href="group__constants.html#a6a70">SQLOT_SLS</a> = 91, <a class="el" href="group__constants.html#a6a71">SQLOT_LVC</a> = 94, <br> <a class="el" href="group__constants.html#a6a72">SQLOT_LVB</a> = 95, <a class="el" href="group__constants.html#a6a73">SQLOT_AFC</a> = 96, <br> <a class="el" href="group__constants.html#a6a74">SQLOT_AVC</a> = 97, <a class="el" href="group__constants.html#a6a75">SQLOT_CUR</a> = 102, <br> <a class="el" href="group__constants.html#a6a76">SQLOT_RDD</a> = 104, <a class="el" href="group__constants.html#a6a77">SQLOT_LAB</a> = 105, <br> <a class="el" href="group__constants.html#a6a78">SQLOT_OSL</a> = 106, <a class="el" href="group__constants.html#a6a79">SQLOT_NTY</a> = 108, <br> <a class="el" href="group__constants.html#a6a80">SQLOT_REF</a> = 110, <a class="el" href="group__constants.html#a6a81">SQLOT_CLOB</a> = 112, <br> <a class="el" href="group__constants.html#a6a82">SQLOT_BLOB</a> = 113, <a class="el" href="group__constants.html#a6a83">SQLOT_BFILEE</a> = 114, <br> <a class="el" href="group__constants.html#a6a84">SQLOT_CFILEE</a> = 115, <a class="el" href="group__constants.html#a6a85">SQLOT_RSET</a> = 116, <br> <a class="el" href="group__constants.html#a6a86">SQLOT_NCO</a> = 122, <a class="el" href="group__constants.html#a6a87">SQLOT_VST</a> = 155, <br> <a class="el" href="group__constants.html#a6a88">SQLOT_ODT</a> = 156, <a class="el" href="group__constants.html#a6a89">SQLOT_DATE</a> = 184, <br> <a class="el" href="group__constants.html#a6a90">SQLOT_TIME</a> = 185, <a class="el" href="group__constants.html#a6a91">SQLOT_TIME_TZ</a> = 186, <br> <a class="el" href="group__constants.html#a6a92">SQLOT_TIMESTAMP</a> = 187, <a class="el" href="group__constants.html#a6a93">SQLOT_TIMESTAMP_TZ</a> = 188, <br> <a class="el" href="group__constants.html#a6a94">SQLOT_INTERVAL_YM</a> = 189, <a class="el" href="group__constants.html#a6a95">SQLOT_INTERVAL_DS</a> = 190, <br> <a class="el" href="group__constants.html#a6a96">SQLOT_TIMESTAMP_LTZ</a> = 232<br> }</td></tr><tr><td> </td><td><font size=-1><em>The data types for bind variables The oracle constants are copied from $ORACLE_HOME/rdbms/demo/ocidfn.h.</em> <a href="#a6">More...</a><em></em></font><br><br></td></tr><tr><td nowrap align=right valign=top>enum </td><td valign=bottom><a class="el" href="group__constants.html#a7">sqlo_statement_states</a> { <br> <a class="el" href="group__constants.html#a7a97">SQLO_STMT_STATE_INITIALIZED</a> = 1, <a class="el" href="group__constants.html#a7a98">SQLO_STMT_STATE_EXECUTED</a> = 2, <br> <a class="el" href="group__constants.html#a7a99">SQLO_STMT_STATE_END_OF_FETCH</a> = 3<br> }</td></tr><tr><td> </td><td><font size=-1><em>Possible statement states returned by <a class="el" href="group__misc.html#a7">Miscellaneous functions</a>.</em> <a href="#a7">More...</a><em></em></font><br><br></td></tr></table><hr><h2>Enumeration Type Documentation</h2><a name="a5" doxytag="sqlora.h::sqlo_constants"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> enum sqlo_constants </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Some constants used to pass to the functions.<p><dl compact><dt><b>Enumeration values: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em><a name="a5a45" doxytag="SQLO_OFF"></a><em>SQLO_OFF</em></em> </td><td>use this to switch something off</td></tr><tr><td valign=top><em><a name="a5a46" doxytag="SQLO_ON"></a><em>SQLO_ON</em></em> </td><td>use this to switch someting on</td></tr><tr><td valign=top><em><a name="a5a47" doxytag="SQLO_NULL_IND"></a><em>SQLO_NULL_IND</em></em> </td><td>NULL indicator.</td></tr><tr><td valign=top><em><a name="a5a48" doxytag="SQLO_NOT_NULL_IND"></a><em>SQLO_NOT_NULL_IND</em></em> </td><td>NOT NULL indicator.</td></tr><tr><td valign=top><em><a name="a5a49" doxytag="SQLO_STH_INIT"></a><em>SQLO_STH_INIT</em></em> </td><td>You must init the sth with this before the first call of <a class="el" href="group__easy.html#a4">The easy interface</a>.</td></tr><tr><td valign=top><em><a name="a5a50" doxytag="SQLO_ONE_PIECE"></a><em>SQLO_ONE_PIECE</em></em> </td><td>Piecewise operation code in <a class="el" href="group__lob.html#a2">Functions to insert/select LOBs</a>.</td></tr><tr><td valign=top><em><a name="a5a51" doxytag="SQLO_FIRST_PIECE"></a><em>SQLO_FIRST_PIECE</em></em> </td><td>Piecewise operation code in <a class="el" href="group__lob.html#a2">Functions to insert/select LOBs</a>.</td></tr><tr><td valign=top><em><a name="a5a52" doxytag="SQLO_NEXT_PIECE"></a><em>SQLO_NEXT_PIECE</em></em> </td><td>Piecewise operation code in <a class="el" href="group__lob.html#a2">Functions to insert/select LOBs</a>.</td></tr><tr><td valign=top><em><a name="a5a53" doxytag="SQLO_LAST_PIECE"></a><em>SQLO_LAST_PIECE</em></em> </td><td>Piecewise operation code in <a class="el" href="group__lob.html#a2">Functions to insert/select LOBs</a>.</td></tr></table></dl><p>Definition at line <a class="el" href="sqlora_8h-source.html#l00180">180</a> of file <a class="el" href="sqlora_8h-source.html">sqlora.h</a>. </td> </tr></table><a name="a6" doxytag="sqlora.h::sqlo_data_types"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> enum sqlo_data_types </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>The data types for bind variables The oracle constants are copied from $ORACLE_HOME/rdbms/demo/ocidfn.h.<p><dl compact><dt><b>Note: </b></dt><dd>Not all datatypes are implemented in this module (especially exotic ones) </dl><dl compact><dt><b>See also: </b></dt><dd><a class="el" href="group__complex.html#a1">sqlo_bind_by_name</a> <a class="el" href="group__complex.html#a3">sqlo_bind_by_pos</a> sqlo_defined_by_pos </dl><dl compact><dt><b>Enumeration values: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em><a name="a6a54" doxytag="SQLOT_CHR"></a><em>SQLOT_CHR</em></em> </td><td>(ORANET TYPE) character string</td></tr><tr><td valign=top><em><a name="a6a55" doxytag="SQLOT_NUM"></a><em>SQLOT_NUM</em></em> </td><td>(ORANET TYPE) oracle numeric</td></tr><tr><td valign=top><em><a name="a6a56" doxytag="SQLOT_INT"></a><em>SQLOT_INT</em></em> </td><td>(ORANET TYPE) integer</td></tr><tr><td valign=top><em><a name="a6a57" doxytag="SQLOT_FLT"></a><em>SQLOT_FLT</em></em> </td><td>(ORANET TYPE) Floating point number</td></tr><tr><td valign=top><em><a name="a6a58" doxytag="SQLOT_STR"></a><em>SQLOT_STR</em></em> </td><td>zero terminated string</td></tr><tr><td valign=top><em><a name="a6a59" doxytag="SQLOT_VNU"></a><em>SQLOT_VNU</em></em> </td><td>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?