⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 group__g__connect.html

📁 oci的源码,可以在任何平台上编译,相当方便实用
💻 HTML
📖 第 1 页 / 共 4 页
字号:
<p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>con</em>&nbsp;</td><td>- connection handle </td></tr>    <tr><td valign="top"></td><td valign="top"><em>trace</em>&nbsp;</td><td>- trace type</td></tr>  </table></dl><dl class="note" compact><dt><b>Note:</b></dt><dd>See <a class="el" href="group__g__connect.html#ga2be0c485c4937039d1fec437420dcf9" title="Set tracing information to the session of the given connection.">OCI_SetTrace()</a> for more details. </dd></dl><p>Definition at line <a class="el" href="connection_8c-source.html#l01382">1382</a> of file <a class="el" href="connection_8c-source.html">connection.c</a>.</p><p>References <a class="el" href="ocilib__types_8h-source.html#l00280">OCI_Connection::trace</a>.</p></div></div><p><a class="anchor" name="g033d19889ff80f7d5ff16285392ed696"></a><!-- doxytag: member="ocilib.h::OCI_GetTransaction" ref="g033d19889ff80f7d5ff16285392ed696" args="(OCI_Connection *con)" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">OCI_EXPORT <a class="el" href="struct_o_c_i___transaction.html">OCI_Transaction</a>* OCI_API OCI_GetTransaction           </td>          <td>(</td>          <td class="paramtype"><a class="el" href="struct_o_c_i___connection.html">OCI_Connection</a> *&nbsp;</td>          <td class="paramname"> <em>con</em>          </td>          <td>&nbsp;)&nbsp;</td>          <td width="100%"></td>        </tr>      </table></div><div class="memdoc"><p>Return the current transaction of the connection. <p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>con</em>&nbsp;</td><td>- Connection handle </td></tr>  </table></dl><p>Definition at line <a class="el" href="connection_8c-source.html#l00946">946</a> of file <a class="el" href="connection_8c-source.html">connection.c</a>.</p><p>References <a class="el" href="ocilib__types_8h-source.html#l00263">OCI_Connection::trs</a>.</p></div></div><p><a class="anchor" name="g79621217bc8fb84907c453258a2a33e1"></a><!-- doxytag: member="ocilib.h::OCI_GetUserData" ref="g79621217bc8fb84907c453258a2a33e1" args="(OCI_Connection *con)" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">OCI_EXPORT void* OCI_API OCI_GetUserData           </td>          <td>(</td>          <td class="paramtype"><a class="el" href="struct_o_c_i___connection.html">OCI_Connection</a> *&nbsp;</td>          <td class="paramname"> <em>con</em>          </td>          <td>&nbsp;)&nbsp;</td>          <td width="100%"></td>        </tr>      </table></div><div class="memdoc"><p>Return the previously pointer to user data associated with the connection. <p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>con</em>&nbsp;</td><td>- Connection handle </td></tr>  </table></dl><p>Definition at line <a class="el" href="connection_8c-source.html#l00713">713</a> of file <a class="el" href="connection_8c-source.html">connection.c</a>.</p><p>References <a class="el" href="ocilib__types_8h-source.html#l00274">OCI_Connection::usrdata</a>.</p></div></div><p><a class="anchor" name="g36f22edbe20d0cc1bbbb311dc58552e8"></a><!-- doxytag: member="ocilib.h::OCI_GetUserName" ref="g36f22edbe20d0cc1bbbb311dc58552e8" args="(OCI_Connection *con)" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">OCI_EXPORT const mtext* OCI_API OCI_GetUserName           </td>          <td>(</td>          <td class="paramtype"><a class="el" href="struct_o_c_i___connection.html">OCI_Connection</a> *&nbsp;</td>          <td class="paramname"> <em>con</em>          </td>          <td>&nbsp;)&nbsp;</td>          <td width="100%"></td>        </tr>      </table></div><div class="memdoc"><p>Return the current logged user name. <p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>con</em>&nbsp;</td><td>- Connection handle </td></tr>  </table></dl><p>Definition at line <a class="el" href="connection_8c-source.html#l00754">754</a> of file <a class="el" href="connection_8c-source.html">connection.c</a>.</p><p>References <a class="el" href="ocilib__types_8h-source.html#l00257">OCI_Connection::user</a>.</p></div></div><p><a class="anchor" name="g6f61147801fce4b69edb4981ba4ea1b7"></a><!-- doxytag: member="ocilib.h::OCI_GetVersionConnection" ref="g6f61147801fce4b69edb4981ba4ea1b7" args="(OCI_Connection *con)" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">OCI_EXPORT unsigned int OCI_API OCI_GetVersionConnection           </td>          <td>(</td>          <td class="paramtype"><a class="el" href="struct_o_c_i___connection.html">OCI_Connection</a> *&nbsp;</td>          <td class="paramname"> <em>con</em>          </td>          <td>&nbsp;)&nbsp;</td>          <td width="100%"></td>        </tr>      </table></div><div class="memdoc"><p>Return the highest Oracle version is supported by the connection. <p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>con</em>&nbsp;</td><td>- connection handle</td></tr>  </table></dl><dl class="note" compact><dt><b>Note:</b></dt><dd>The highest supported version is the lower version between client and server:<p>Returns one of the following values :</dd></dl><ul><li>OCI_UNKNOWN</li><li>OCI_8</li><li>OCI_9</li><li>OCI_10</li><li>OCI_8</li><li>OCI_11 </li></ul><p>Definition at line <a class="el" href="connection_8c-source.html#l00980">980</a> of file <a class="el" href="connection_8c-source.html">connection.c</a>.</p><p>References <a class="el" href="group__g__init.html#g771bf5d33dbd0b63d84242819209b35b">OCI_GetOCIRuntimeVersion()</a>, and <a class="el" href="group__g__connect.html#g2d7618d8eae73643dd75067a40e656a1">OCI_GetServerMajorVersion()</a>.</p><p>Referenced by <a class="el" href="group__g__ora__ret.html#gdb32a019872260d7ef4c0e25f7d1b796">OCI_RegisterDate()</a>.</p></div></div><p><a class="anchor" name="ged47a25a1f96fd630f176fe702ac443a"></a><!-- doxytag: member="ocilib.h::OCI_GetVersionServer" ref="ged47a25a1f96fd630f176fe702ac443a" args="(OCI_Connection *con)" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">OCI_EXPORT const mtext* OCI_API OCI_GetVersionServer           </td>          <td>(</td>          <td class="paramtype"><a class="el" href="struct_o_c_i___connection.html">OCI_Connection</a> *&nbsp;</td>          <td class="paramname"> <em>con</em>          </td>          <td>&nbsp;)&nbsp;</td>          <td width="100%"></td>        </tr>      </table></div><div class="memdoc"><p>Return the connected database server version. <p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>con</em>&nbsp;</td><td>- Connection handle </td></tr>  </table></dl><p>Definition at line <a class="el" href="connection_8c-source.html#l00820">820</a> of file <a class="el" href="connection_8c-source.html">connection.c</a>.</p><p>References <a class="el" href="ocilib__types_8h-source.html#l00269">OCI_Connection::cxt</a>, <a class="el" href="ocilib__types_8h-source.html#l00267">OCI_Connection::err</a>, <a class="el" href="ocilib__types_8h-source.html#l00277">OCI_Connection::ver_maj</a>, <a class="el" href="ocilib__types_8h-source.html#l00278">OCI_Connection::ver_min</a>, <a class="el" href="ocilib__types_8h-source.html#l00279">OCI_Connection::ver_rev</a>, and <a class="el" href="ocilib__types_8h-source.html#l00259">OCI_Connection::version</a>.</p><p>Referenced by <a class="el" href="group__g__connect.html#g2d7618d8eae73643dd75067a40e656a1">OCI_GetServerMajorVersion()</a>, <a class="el" href="group__g__connect.html#g8f48a3c755751e5df415160913c6c7ee">OCI_GetServerMinorVersion()</a>, and <a class="el" href="group__g__connect.html#ge4c3b37f1c9fc79d36220aa9c96d4415">OCI_GetServerRevisionVersion()</a>.</p></div></div><p><a class="anchor" name="gaa13dc7489eeebcc6bd2a54fb88248b7"></a><!-- doxytag: member="ocilib.h::OCI_IsConnected" ref="gaa13dc7489eeebcc6bd2a54fb88248b7" args="(OCI_Connection *con)" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">OCI_EXPORT boolean OCI_API OCI_IsConnected           </td>          <td>(</td>          <td class="paramtype"><a class="el" href="struct_o_c_i___connection.html">OCI_Connection</a> *&nbsp;</td>          <td class="paramname"> <em>con</em>          </td>          <td>&nbsp;)&nbsp;</td>          <td width="100%"></td>        </tr>      </table></div><div class="memdoc"><p>Returns TRUE is the given connection is still connected otherwise FALSE. <p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>con</em>&nbsp;</td><td>- Connection handle </td></tr>  </table></dl><p>Definition at line <a class="el" href="connection_8c-source.html#l00687">687</a> of file <a class="el" href="connection_8c-source.html">connection.c</a>.</p><p>References <a class="el" href="ocilib__types_8h-source.html#l00267">OCI_Connection::err</a>, and <a class="el" href="ocilib__types_8h-source.html#l00266">OCI_Connection::svr</a>.</p></div></div><p><a class="anchor" name="g7fbe35082dadb74584cab6a89183aa19"></a><!-- doxytag: member="ocilib.h::OCI_SetDefaultFormatDate" ref="g7fbe35082dadb74584cab6a89183aa19" args="(OCI_Connection *con, const mtext *format)" --><div class="memitem"><div class="memproto">      <table class="memname">        <tr>          <td class="memname">OCI_EXPORT boolean OCI_API OCI_SetDefaultFormatDate           </td>          <td>(</td>          <td class="paramtype"><a class="el" href="struct_o_c_i___connection.html">OCI_Connection</a> *&nbsp;</td>          <td class="paramname"> <em>con</em>, </td>        </tr>        <tr>          <td class="paramkey"></td>          <td></td>          <td class="paramtype">const mtext *&nbsp;</td>          <td class="paramname"> <em>format</em></td><td>&nbsp;</td>        </tr>        <tr>          <td></td>          <td>)</td>          <td></td><td></td><td width="100%"></td>        </tr>      </table></div><div class="memdoc"><p>Set the date format for implicit string / date conversions. <p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td valign="top"></td><td valign="top"><em>con</em>&nbsp;</td><td>- Connection handle </td></tr>    <tr><td valign="top"></td><td valign="top"><em>format</em>&nbsp;</td><td>- Date format</td></tr>  </table></dl><dl class="note" compact><dt><b>Note:</b></dt><dd>Default format is :<ul><li>'YYYY-MM-DD'</li></ul><p>Possible values are the string date format supported by Oracle. See documentation of Oracle SQL to_date() function for more details </dd></dl><p>Definition at line <a class="el" href="connection_8c-source.html#l01001">1001</a> of file <a class="el" href="connection_8c-source.html">connection.c</a>.</p>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -