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

📄 command_nativehandles.html

📁 能够连接各种数据库的API
💻 HTML
📖 第 1 页 / 共 2 页
字号:
                            </UL> 
                         </FONT></td>
                </tr>
                <tr>
                    <td>
                        <p><STRONG><A 
                        href="../ServerSpecific/SQLServer_DbLibrary.html" title="SQL Server (DB-Library) specific information">SQL 
                        Server (DB-Library)</A></STRONG> </p></td>
                    <td>
                        <P><STRONG><FONT color=maroon 
                        face="">Cast the result</FONT></STRONG>   to <STRONG 
                        >class 
                        ssCommandHandles</STRONG>:</P><FONT face=System><FONT face=System>
                        <P><STRONG><FONT color=maroon face="">#include 
                        &lt;ss6API.h&gt;</FONT> </STRONG></P>
                        <P>saCommandHandles *pResult = 
                        cmd.NativeHandles</FONT>();<BR>ssCommandHandles *p_ssCH 
                        =<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                        (ssCommandHandles *)pResult;</P>
                        <P><FONT 
                        face="Times New Roman"><STRONG><FONT color=maroon 
                        face="">Available handles:</FONT></STRONG></FONT> 
                         </P>
                        <UL>
                            <LI><FONT face="Times New Roman">no handles 
                            available</FONT></LI></UL> 
                         </FONT></td>
                </tr>
                <TR>
                    <TD><STRONG><A 
                        href="../ServerSpecific/Sybase.html" title="Sybase server specific information">Sybase</A></STRONG>
                    <TD>
                        <P><STRONG><FONT color=maroon 
                        face="">Cast the result</FONT></STRONG>   to <STRONG 
                        >class 
                        sybCommandHandles</STRONG>:</P><FONT face=System><FONT face=System>
                        <P><STRONG><FONT color=maroon face="">#include 
                        &lt;sybAPI.h&gt;</FONT> </STRONG></P>
                        <P>saCommandHandles *pResult = 
                        cmd.NativeHandles</FONT>();<BR>sybCommandHandles *p_db2CH 
                        =<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                        (sybCommandHandles *)pResult;</P>
                        <P><FONT 
                        face="Times New Roman"><STRONG><FONT color=maroon 
                        face="">Available handles:</FONT></STRONG></FONT> 
                         </P>
                        <UL>
                            <LI><FONT face="Times New Roman"> CS_COMMAND 
                            *m_command;</FONT></LI></UL> 
                         </FONT></TD>
                <tr>
                    <td>
                        <p><STRONG><A 
                        href="../ServerSpecific/DB2.html" title="DB2 server specific information">DB2</A></STRONG> </p></td>
                    <td>
                        <P><STRONG><FONT color=maroon 
                        face="">Cast the result</FONT></STRONG>   to <STRONG 
                        >class 
                        db2CommandHandles</STRONG>:</P><FONT face=System><FONT face=System>
                        <P><STRONG><FONT color=maroon face="">#include 
                        &lt;db2API.h&gt;</FONT> </STRONG></P>
                        <P>saCommandHandles *pResult = 
                        cmd.NativeHandles</FONT>();<BR>db2CommandHandles *p_db2CH 
                        =<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                        (db2CommandHandles *)pResult;</P>
                        <P><FONT 
                        face="Times New Roman"><STRONG><FONT color=maroon 
                        face="">Available handles:</FONT></STRONG></FONT> 
                         </P>
                        <UL>
                            <LI><FONT face="Times New Roman"> SQLHSTMT 
                            m_hstmt;</FONT></LI></UL> 
                         </FONT></td>
                </tr>
                 <tr>
                    <td>
                        <p><STRONG><A 
                        href="../ServerSpecific/Informix.html" title="Informix server specific information">Informix</A></STRONG> 
                        </p></td>
                    <td>
                        <P><STRONG><FONT color=maroon 
                        face="">Cast the result</FONT></STRONG>   to <STRONG 
                        >class 
                        infCommandHandles</STRONG>:</P><FONT face=System><FONT face=System>
                        <P><STRONG><FONT color=maroon face="">#include 
                        &lt;infAPI.h&gt;</FONT> </STRONG></P>
                        <P>saCommandHandles *pResult = 
                        cmd.NativeHandles</FONT>();<BR>infCommandHandles *p_infCH 
                        =<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                        (infCommandHandles *)pResult;</P>
                        <P><FONT 
                        face="Times New Roman"><STRONG><FONT color=maroon 
                        face="">Available handles:</FONT></STRONG></FONT> 
                         </P>
                        <UL>
                            <LI><FONT face="Times New Roman"> SQLHSTMT 
                            m_hstmt;</FONT></LI></UL> 
                         </FONT></td>
                </tr>
                <tr>
                    <td>
                        <p><STRONG><A 
                        href="../ServerSpecific/InterBase.html" title="InterBase server specific information">InterBase</A></STRONG></p></td>
                    <td>
                        <P><STRONG><FONT color=maroon 
                        face="">Cast the result</FONT></STRONG>   to <STRONG 
                        >class 
                        ibCommandHandles</STRONG>:</P><FONT face=System><FONT face=System>
                        <P><STRONG><FONT color=maroon face="">#include 
                        &lt;ibAPI.h&gt;</FONT> </STRONG></P>
                        <P>saCommandHandles *pResult = 
                        cmd.NativeHandles</FONT>();<BR>ibCommandHandles *p_ibCH 
                        =<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                        (ibCommandHandles *)pResult;</P>
                        <P><FONT 
                        face="Times New Roman"><STRONG><FONT color=maroon 
                        face="">Available handles:</FONT></STRONG></FONT> 
                         </P>
                        <UL>
                            <LI><FONT face="Times New Roman">isc_stmt_handle 
                            m_stmt_handle;</FONT></LI></UL> 
                         </FONT></td>
                    </tr>
                <tr>
                    <td>
                        <p><STRONG><A 
                        href="../ServerSpecific/SQLBase.html" title="SQLBase server specific information">SQLBase</A> 
 </STRONG></p></td>
                    <td>
                        <P><STRONG><FONT color=maroon 
                        face="">Cast the result</FONT></STRONG>   to <STRONG 
                        >class 
                        sbCommandHandles</STRONG>:</P><FONT face=System><P>
						<STRONG><FONT color=maroon face="">#include 
                        &lt;sbAPI.h&gt;</FONT> </STRONG></P>
                        <P>saCommandHandles *pResult = 
                        cmd.NativeHandles();<BR>sbCommandHandles *p_sbCH 
                        =<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                        (sbCommandHandles *)pResult;</P>
                        <P><FONT 
                        face="Times New Roman"><STRONG><FONT color=maroon 
                        face="">Available handles:</FONT></STRONG></FONT><FONT 
                        face="Times New Roman"> </FONT> 
                         </P>
                        <UL>
                            <LI><FONT face="Times New Roman"></FONT><FONT 
                            face="Times New Roman">SQLTCUR 
                        m_cur;</FONT></LI></UL> 
                         </FONT></td>
				</tr>
                <tr>
                	<td >
						<p><STRONG><A 
                        href="../ServerSpecific/MySQL.html" title="MySQL server specific information">MySQL</A></STRONG> 
                        </p></td>
					<td>
						<P ><STRONG><FONT color=maroon 
                        face="">Cast the result</FONT></STRONG>    to <STRONG>class myCommandHandles</STRONG>:</P>
				        <P ><FONT color=maroon 
                        face=System>#include &lt;myAPI.h&gt;</FONT> 
                         </P>
						<P ><FONT face=System>saCommandHandles *pResult = 
                        cmd.NativeHandles();<BR >
			               myCommandHandles *p_myCH 
                        =<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                        (myCommandHandles *)pResult;</FONT></P><FONT face=System>
                        <P><FONT 
                        face="Times New Roman"><STRONG><FONT color=maroon 
                        face="">Available handles:</FONT></STRONG></FONT> 
                         </P>
                        <UL>
                            <LI><FONT face="Times New Roman"><FONT 
                            face="Times New Roman">MYSQL_RES *result</FONT> 
                            ;</FONT></LI></UL> 
                         </FONT></td>
				</tr>
                <tr>
                	<td >
						<p><STRONG><A 
                        href="../ServerSpecific/PostgreSQL.html" title="PostgreSQL server specific information">PostgreSQL</A></STRONG> 
                        </p></td>
					<td>
						<P ><STRONG><FONT color=maroon 
                        face="">Cast the result</FONT></STRONG>    to <STRONG>class pgCommandHandles</STRONG>:</P>
				        <P ><FONT color=maroon 
                        face=System>#include &lt;pgAPI.h&gt;</FONT> 
                         </P>
						<P ><FONT face=System>saCommandHandles *pResult = 
                        cmd.NativeHandles();<BR >
			               pgCommandHandles *p_pgCH 
                        =<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                        (pgCommandHandles *)pResult;</FONT></P><FONT face=System>
                        <P><FONT 
                        face="Times New Roman"><STRONG><FONT color=maroon 
                        face="">Available handles:</FONT></STRONG></FONT> 
                         </P>
                        <UL>
                            <LI><FONT face="Times New Roman"> 
                            PGresult *res;</FONT>
                            </LI></UL> 
                         </FONT></td>
				</tr>
                <tr>
                	<td >
						<p><STRONG><A 
                        href="../ServerSpecific/ODBC.html" title="ODBC server specific information">ODBC</A></STRONG> 
                        </p></td>
					<td>
						<P ><STRONG><FONT color=maroon 
                        face="">Cast the result</FONT></STRONG>    to <STRONG>class odbcCommandHandles</STRONG>:</P>
				        <P ><FONT color=maroon 
                        face=System>#include &lt;odbcAPI.h&gt;</FONT> 
                         </P>
						<P ><FONT face=System>saCommandHandles *pResult = 
                        cmd.NativeHandles();<BR >
			               odbcCommandHandles *p_odbcCH 
                        =<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                        (odbcCommandHandles *)pResult;</FONT></P><FONT face=System>
                        <P><FONT 
                        face="Times New Roman"><STRONG><FONT color=maroon 
                        face="">Available handles:</FONT></STRONG></FONT> 
                         </P>
                        <UL>
                            <LI><FONT face="Times New Roman">SQLHSTMT 
                            m_hstmt;</FONT></LI></UL> 
                         </FONT></td>
				</tr>
			</table></P>
			
			<h3>See also</h3>
			<p><A 
            href="Connection_ClientVersion.html">SAConnection::ClientVersion</A>, 
            <A href="Connection_NativeAPI.html" target="" >SAConnection::NativeAPI</A>, <A 
            href="Command_NativeHandles.html">SACommand::NativeHandles</A>
			  
			</p>

			<h3>Problems and Questions</h3>
			<p>			If 
			you haven't found the answer to your questions or 
            have some problems on using the Library, please, send e-mail to <A href="mailto:howto@sqlapi.com">howto@sqlapi.com</A>.
			</p></TD>
	<tr></tr></TBODY></TABLE>
</body></html>

⌨️ 快捷键说明

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