📄 command_nativehandles.html
字号:
</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
<ss6API.h></FONT> </STRONG></P>
<P>saCommandHandles *pResult =
cmd.NativeHandles</FONT>();<BR>ssCommandHandles *p_ssCH
=<BR>
(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
<sybAPI.h></FONT> </STRONG></P>
<P>saCommandHandles *pResult =
cmd.NativeHandles</FONT>();<BR>sybCommandHandles *p_db2CH
=<BR>
(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
<db2API.h></FONT> </STRONG></P>
<P>saCommandHandles *pResult =
cmd.NativeHandles</FONT>();<BR>db2CommandHandles *p_db2CH
=<BR>
(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
<infAPI.h></FONT> </STRONG></P>
<P>saCommandHandles *pResult =
cmd.NativeHandles</FONT>();<BR>infCommandHandles *p_infCH
=<BR>
(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
<ibAPI.h></FONT> </STRONG></P>
<P>saCommandHandles *pResult =
cmd.NativeHandles</FONT>();<BR>ibCommandHandles *p_ibCH
=<BR>
(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
<sbAPI.h></FONT> </STRONG></P>
<P>saCommandHandles *pResult =
cmd.NativeHandles();<BR>sbCommandHandles *p_sbCH
=<BR>
(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 <myAPI.h></FONT>
</P>
<P ><FONT face=System>saCommandHandles *pResult =
cmd.NativeHandles();<BR >
myCommandHandles *p_myCH
=<BR>
(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 <pgAPI.h></FONT>
</P>
<P ><FONT face=System>saCommandHandles *pResult =
cmd.NativeHandles();<BR >
pgCommandHandles *p_pgCH
=<BR>
(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 <odbcAPI.h></FONT>
</P>
<P ><FONT face=System>saCommandHandles *pResult =
cmd.NativeHandles();<BR >
odbcCommandHandles *p_odbcCH
=<BR>
(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 + -