📄 group__constants.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>libsqlora8: Constants</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.3.6 --><div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Data Fields</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></div><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 class="memItemLeft" nowrap align=right valign=top>enum </td><td class="memItemRight" valign=bottom><a class="el" href="group__constants.html#ga3">sqlo_status_codes</a> { <br> <a class="el" href="group__constants.html#gga3a25">SQLO_SUCCESS</a> = 0, <a class="el" href="group__constants.html#gga3a26">SQLO_ERROR</a> = -1, <br> <a class="el" href="group__constants.html#gga3a27">SQLO_INVALID_HANDLE</a> = -2, <a class="el" href="group__constants.html#gga3a28">SQLO_STILL_EXECUTING</a> = -3123, <br> <a class="el" href="group__constants.html#gga3a29">SQLO_CONTINUE</a> = -24200, <a class="el" href="group__constants.html#gga3a30">SQLO_SUCCESS_WITH_INFO</a> = 1, <br> <a class="el" href="group__constants.html#gga3a31">SQLO_NEED_DATA</a> = 99, <a class="el" href="group__constants.html#gga3a32">SQLO_NO_DATA</a> = 100<br> }</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Constants defining the return codes of the functions. <a href="#ga3">More...</a><br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>enum </td><td class="memItemRight" valign=bottom><a class="el" href="group__constants.html#ga4">sqlo_error_codes</a> { <br> <a class="el" href="group__constants.html#gga4a33">SQLO_ERROR_BASE</a> = -30000, <a class="el" href="group__constants.html#gga4a34">SQLO_INVALID_DB_HANDLE</a> = (SQLO_ERROR_BASE - 1), <br> <a class="el" href="group__constants.html#gga4a35">SQLO_ERRMALLOC</a> = (SQLO_ERROR_BASE - 2), <a class="el" href="group__constants.html#gga4a36">SQLO_INVALID_STMT_HANDLE</a> = (SQLO_ERROR_BASE - 3), <br> <a class="el" href="group__constants.html#gga4a37">SQLO_STMT_NOT_OPENED</a> = (SQLO_ERROR_BASE - 4), <a class="el" href="group__constants.html#gga4a38">SQLO_INVALID_STMT_TYPE</a> = (SQLO_ERROR_BASE - 5), <br> <a class="el" href="group__constants.html#gga4a39">SQLO_STMT_NOT_PARSED</a> = (SQLO_ERROR_BASE - 6), <a class="el" href="group__constants.html#gga4a40">SQLO_INVALID_OCI_HANDLE_TYPE</a> = (SQLO_ERROR_BASE - 7), <br> <a class="el" href="group__constants.html#gga4a41">SQLO_MALFORMED_VERSION_STR</a> = (SQLO_ERROR_BASE - 8), <a class="el" href="group__constants.html#gga4a42">SQLO_WRONG_VERSION</a> = (SQLO_ERROR_BASE - 9), <br> <a class="el" href="group__constants.html#gga4a43">SQLO_INVALID_COLPOS</a> = (SQLO_ERROR_BASE - 10), <a class="el" href="group__constants.html#gga4a44">SQLO_INVALID_SQL</a> = (SQLO_ERROR_BASE -11)<br> }</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Constants defining error codes returned by the library. <a href="#ga4">More...</a><br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>enum </td><td class="memItemRight" valign=bottom><a class="el" href="group__constants.html#ga5">sqlo_constants</a> { <br> <a class="el" href="group__constants.html#gga5a45">SQLO_OFF</a> = 0, <a class="el" href="group__constants.html#gga5a46">SQLO_ON</a> = 1, <br> <a class="el" href="group__constants.html#gga5a47">SQLO_NULL_IND</a> = -1, <a class="el" href="group__constants.html#gga5a48">SQLO_NOT_NULL_IND</a> = 0, <br> <a class="el" href="group__constants.html#gga5a49">SQLO_STH_INIT</a> = -1, <a class="el" href="group__constants.html#gga5a50">SQLO_ONE_PIECE</a> = 0, <br> <a class="el" href="group__constants.html#gga5a51">SQLO_FIRST_PIECE</a> = 1, <a class="el" href="group__constants.html#gga5a52">SQLO_NEXT_PIECE</a> = 2, <br> <a class="el" href="group__constants.html#gga5a53">SQLO_LAST_PIECE</a> = 3<br> }</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Some constants used to pass to the functions. <a href="#ga5">More...</a><br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>enum </td><td class="memItemRight" valign=bottom><a class="el" href="group__constants.html#ga6">sqlo_data_types</a> { <br> <a class="el" href="group__constants.html#gga6a54">SQLOT_CHR</a> = 1, <a class="el" href="group__constants.html#gga6a55">SQLOT_NUM</a> = 2, <br> <a class="el" href="group__constants.html#gga6a56">SQLOT_INT</a> = 3, <a class="el" href="group__constants.html#gga6a57">SQLOT_FLT</a> = 4, <br> <a class="el" href="group__constants.html#gga6a58">SQLOT_STR</a> = 5, <a class="el" href="group__constants.html#gga6a59">SQLOT_VNU</a> = 6, <br> <a class="el" href="group__constants.html#gga6a60">SQLOT_PDN</a> = 7, <a class="el" href="group__constants.html#gga6a61">SQLOT_LNG</a> = 8, <br> <a class="el" href="group__constants.html#gga6a62">SQLOT_VCS</a> = 9, <a class="el" href="group__constants.html#gga6a63">SQLOT_NON</a> = 10, <br> <a class="el" href="group__constants.html#gga6a64">SQLOT_RID</a> = 11, <a class="el" href="group__constants.html#gga6a65">SQLOT_DAT</a> = 12, <br> <a class="el" href="group__constants.html#gga6a66">SQLOT_VBI</a> = 15, <a class="el" href="group__constants.html#gga6a67">SQLOT_BIN</a> = 23, <br> <a class="el" href="group__constants.html#gga6a68">SQLOT_LBI</a> = 24, <a class="el" href="group__constants.html#gga6a69">SQLOT_UIN</a> = 68, <br> <a class="el" href="group__constants.html#gga6a70">SQLOT_SLS</a> = 91, <a class="el" href="group__constants.html#gga6a71">SQLOT_LVC</a> = 94, <br> <a class="el" href="group__constants.html#gga6a72">SQLOT_LVB</a> = 95, <a class="el" href="group__constants.html#gga6a73">SQLOT_AFC</a> = 96, <br> <a class="el" href="group__constants.html#gga6a74">SQLOT_AVC</a> = 97, <a class="el" href="group__constants.html#gga6a75">SQLOT_CUR</a> = 102, <br> <a class="el" href="group__constants.html#gga6a76">SQLOT_RDD</a> = 104, <a class="el" href="group__constants.html#gga6a77">SQLOT_LAB</a> = 105, <br> <a class="el" href="group__constants.html#gga6a78">SQLOT_OSL</a> = 106, <a class="el" href="group__constants.html#gga6a79">SQLOT_NTY</a> = 108, <br> <a class="el" href="group__constants.html#gga6a80">SQLOT_REF</a> = 110, <a class="el" href="group__constants.html#gga6a81">SQLOT_CLOB</a> = 112, <br> <a class="el" href="group__constants.html#gga6a82">SQLOT_BLOB</a> = 113, <a class="el" href="group__constants.html#gga6a83">SQLOT_BFILEE</a> = 114, <br> <a class="el" href="group__constants.html#gga6a84">SQLOT_CFILEE</a> = 115, <a class="el" href="group__constants.html#gga6a85">SQLOT_RSET</a> = 116, <br> <a class="el" href="group__constants.html#gga6a86">SQLOT_NCO</a> = 122, <a class="el" href="group__constants.html#gga6a87">SQLOT_VST</a> = 155, <br> <a class="el" href="group__constants.html#gga6a88">SQLOT_ODT</a> = 156, <a class="el" href="group__constants.html#gga6a89">SQLOT_DATE</a> = 184, <br> <a class="el" href="group__constants.html#gga6a90">SQLOT_TIME</a> = 185, <a class="el" href="group__constants.html#gga6a91">SQLOT_TIME_TZ</a> = 186, <br> <a class="el" href="group__constants.html#gga6a92">SQLOT_TIMESTAMP</a> = 187, <a class="el" href="group__constants.html#gga6a93">SQLOT_TIMESTAMP_TZ</a> = 188, <br> <a class="el" href="group__constants.html#gga6a94">SQLOT_INTERVAL_YM</a> = 189, <a class="el" href="group__constants.html#gga6a95">SQLOT_INTERVAL_DS</a> = 190, <br> <a class="el" href="group__constants.html#gga6a96">SQLOT_TIMESTAMP_LTZ</a> = 232<br> }</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">The data types for bind variables The oracle constants are copied from $ORACLE_HOME/rdbms/demo/ocidfn.h. <a href="#ga6">More...</a><br><br></td></tr><tr><td class="memItemLeft" nowrap align=right valign=top>enum </td><td class="memItemRight" valign=bottom><a class="el" href="group__constants.html#ga7">sqlo_statement_states</a> { <br> <a class="el" href="group__constants.html#gga7a97">SQLO_STMT_STATE_INITIALIZED</a> = 1, <a class="el" href="group__constants.html#gga7a98">SQLO_STMT_STATE_EXECUTED</a> = 2, <br> <a class="el" href="group__constants.html#gga7a99">SQLO_STMT_STATE_END_OF_FETCH</a> = 3<br> }</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Possible statement states returned by <a class="el" href="group__misc.html#ga7">sqlo_get_stmt_state</a>. <a href="#ga7">More...</a><br><br></td></tr></table><hr><h2>Enumeration Type Documentation</h2><a class="anchor" name="ga5" doxytag="sqlora.h::sqlo_constants" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> enum <a class="el" href="group__constants.html#ga5">sqlo_constants</a> </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 class="anchor" name="gga5a45" doxytag="SQLO_OFF" ></a>SQLO_OFF</em> </td><td>use this to switch something off </td></tr><tr><td valign=top><em><a class="anchor" name="gga5a46" doxytag="SQLO_ON" ></a>SQLO_ON</em> </td><td>use this to switch someting on </td></tr><tr><td valign=top><em><a class="anchor" name="gga5a47" doxytag="SQLO_NULL_IND" ></a>SQLO_NULL_IND</em> </td><td>NULL indicator. </td></tr><tr><td valign=top><em><a class="anchor" name="gga5a48" doxytag="SQLO_NOT_NULL_IND" ></a>SQLO_NOT_NULL_IND</em> </td><td>NOT NULL indicator. </td></tr><tr><td valign=top><em><a class="anchor" name="gga5a49" doxytag="SQLO_STH_INIT" ></a>SQLO_STH_INIT</em> </td><td>You must init the sth with this before the first call of <a class="el" href="group__easy.html#ga4">sqlo_open2</a>. </td></tr><tr><td valign=top><em><a class="anchor" name="gga5a50" doxytag="SQLO_ONE_PIECE" ></a>SQLO_ONE_PIECE</em> </td><td>Piecewise operation code in <a class="el" href="group__lob.html#ga2">sqlo_lob_write_buffer</a>. </td></tr><tr><td valign=top><em><a class="anchor" name="gga5a51" doxytag="SQLO_FIRST_PIECE" ></a>SQLO_FIRST_PIECE</em> </td><td>Piecewise operation code in <a class="el" href="group__lob.html#ga2">sqlo_lob_write_buffer</a>. </td></tr><tr><td valign=top><em><a class="anchor" name="gga5a52" doxytag="SQLO_NEXT_PIECE" ></a>SQLO_NEXT_PIECE</em> </td><td>Piecewise operation code in <a class="el" href="group__lob.html#ga2">sqlo_lob_write_buffer</a>. </td></tr><tr><td valign=top><em><a class="anchor" name="gga5a53" doxytag="SQLO_LAST_PIECE" ></a>SQLO_LAST_PIECE</em> </td><td>Piecewise operation code in <a class="el" href="group__lob.html#ga2">sqlo_lob_write_buffer</a>. </td></tr></table></dl><p>Definition at line <a class="el" href="sqlora_8h-source.html#l00194">194</a> of file <a class="el" href="sqlora_8h-source.html">sqlora.h</a>. </td> </tr></table><a class="anchor" name="ga6" doxytag="sqlora.h::sqlo_data_types" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> enum <a class="el" href="group__constants.html#ga6">sqlo_data_types</a> </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) </dd></dl><dl compact><dt><b>See also:</b></dt><dd><a class="el" href="group__complex.html#ga1">sqlo_bind_by_name</a> <a class="el" href="group__complex.html#ga3">sqlo_bind_by_pos</a> sqlo_defined_by_pos </dd></dl><dl compact><dt><b>Enumeration values: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em><a class="anchor" name="gga6a54" doxytag="SQLOT_CHR" ></a>SQLOT_CHR</em> </td><td>(ORANET TYPE) character string </td></tr><tr><td valign=top><em><a class="anchor" name="gga6a55" doxytag="SQLOT_NUM" ></a>SQLOT_NUM</em> </td><td>(ORANET TYPE) oracle numeric </td></tr><tr><td valign=top><em><a class="anchor" name="gga6a56" doxytag="SQLOT_INT" ></a>SQLOT_INT</em> </td><td>(ORANET TYPE) integer </td></tr><tr><td valign=top><em><a class="anchor" name="gga6a57" doxytag="SQLOT_FLT" ></a>SQLOT_FLT</em> </td><td>(ORANET TYPE) Floating point number </td></tr>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -