📄 enums.html
字号:
<html><head><meta name="KEYWORDS" content=" library, C++, Oracle, SQLServer, DB2, Sybase, Informix, InterBase, SQLBase, ODBC,
SQL, server, client, database, programming, development, software,
Win32, Windows, Linux, Unix, Solaris,
Microsoft, Borland, Centura, Gupta, IBM"><meta name="DESCRIPTION" content=
"SQLAPI++ is C++ library for accessing SQL databases (Oracle, SQLServer, Sybase, DB2, InterBase, SQLBase, Informix, ODBC).
It uses native APIs, provides low-level access to database-specific features."><title>SQLAPI++ Library - Online Documentation - Enums</title></head><body bgcolor="#ffffff" BACKGROUND="../images/bg.gif" text="#000000"><!--GlbHdr--> <table WIDTH=600 height=40 frame=hsides BORDER="2" BORDERCOLOR="#004fcd" align="right" cellpadding="0" cellspacing="2" id="TABLE1">
<tr><!--class="GlbDefault"-->
<td width=70 bgcolor=#000094 bordercolor=black align=middle><A href="../index.html" style="TEXT-DECORATION: none" >
<font color=white size=3 face=sans-serif>
<b>Home</b></font></A></td></TD>
<td width=70 bgcolor=#000094 bordercolor=black align=middle><A href="../HowTo/index.html" style="TEXT-DECORATION: none" > <font color=white size=3
face=sans-serif>
<b>How To</b></font></A></td><!--class="GlbActive"-->
<td width=70 bgcolor=#00bb00 bordercolor=black align=middle><A href="../OnLineDoc/index.html" style="TEXT-DECORATION: none" > <font color=white size=3
face=sans-serif>
<b>Online Documentation</b></font></A></td><!--class="GlbDefault"-->
<td width=70 bgcolor=#000094 bordercolor=black align=middle><A href="../Support/index.html" style="TEXT-DECORATION: none" > <font color=white size=3
face=sans-serif>
<b>Support</b></font></A></td>
<td width=70 bgcolor=#000094 bordercolor=black align=middle>
<A href="../Download/index.html" style="TEXT-DECORATION: none" >
<font color=white size=3
face=sans-serif>
<b>Download</b></font></A></td>
<td width=70 bgcolor=#000094 bordercolor=black align=middle><A href="../Order/index.html" style="TEXT-DECORATION: none" > <font color=white size=3
face=sans-serif>
<b>Order</b></font></A></td> </tr>
</table>
<p> </p>
<p> </p>
<table width="100%">
<tr>
<td valign=top width=165><!--LeftMenu-->
<table frame=void CELLSPACING=5 width=165>
<tr><td><p> </p></td>
</tr>
<tr>
<td><img align=middle src="../images/red.gif" WIDTH="12" HEIGHT="12"><A href="Command.html" style ="TEXT-DECORATION: none" >
<font color=white size=2 face=sans-serif>
SACommand</A> </FONT> </td>
</tr>
<tr>
<td><img align=middle src="../images/green.gif" WIDTH="12" HEIGHT="12"><A href="Connection.html" style ="TEXT-DECORATION: none" >
<font color=white size=2 face=sans-serif>
SAConnection</A> </FONT> </td>
</tr>
<tr>
<td><img align=middle src="../images/green.gif" WIDTH="12" HEIGHT="12"><A href="Exception.html" style ="TEXT-DECORATION: none" >
<font color=white size=2 face=sans-serif>
SAException</font></A> </td>
</tr>
<tr>
<td><img align=middle src="../images/green.gif" WIDTH="12" HEIGHT="12"><A href="Field.html" style ="TEXT-DECORATION: none" >
<font color=white size=2 face=sans-serif>
SAField</A> </FONT> </td>
</tr>
<tr>
<td><img align=middle src="../images/green.gif" WIDTH="12" HEIGHT="12"><A href="Param.html" style ="TEXT-DECORATION: none" >
<font color=white size=2 face=sans-serif>
SAParam</A> </FONT> </td>
</tr>
<tr><td><hr></td></tr>
<tr>
<td><img align=middle src="../images/green.gif" WIDTH="12" HEIGHT="12">
<A href="String.html" style ="TEXT-DECORATION: none" >
<font color=white size=2 face=sans-serif>
SAString</A> </FONT> </td>
</tr>
<tr>
<td><img align=middle src="../images/green.gif" WIDTH="12" HEIGHT="12">
<A href="DateTime.html" style ="TEXT-DECORATION: none" >
<font color=white size=2 face=sans-serif>
SADateTime</A> </FONT> </td>
</tr>
</table>
</td><!--empty column-->
<td width=20>
<p> </p>
</td><!--Content-->
<td valign=top align=left>
<table width="100%" cellspacing=2 cellpadding=2>
<tr>
<td align=left ><A href="Command_Usage.html" style ="TEXT-DECORATION: none"><h3>Usage</h3></A>
</td>
<td align=left ><A href="Command.html" style ="TEXT-DECORATION: none"><h3>Class Members</h3></A>
</td>
<td align=left ><A href="Command_Examples.html" style ="TEXT-DECORATION: none"><h3>Examples</h3></A>
</td>
</tr>
<tr>
<td colspan=3><h1>Enums and Typedefs</h1>
<P>SQLAPI++ Library has the
following <STRONG>enumerated types</STRONG> :</P>
<UL>
<LI><A
href="#SAClient_t">SAClient_t</A> List of
supported DBMS clients.
<LI><A
href="#SAErrorClass_t">SAErrorClass_t</A> A set of
possible types of errors.
<LI><A
href="#SAIsolationLevel_t">SAIsolationLevel_t</A> A
possible transaction isolation levels.
<LI><A
href="#SAAutoCommit_t">SAAutoCommit_t</A> Autocommit
modes.
<LI><A
href="#SADataType_t">SADataType_t</A> List of
supported datatypes.
<LI><A
href="#SACommandType_t">SACommandType_t</A> Types of a
command.
<LI><A
href="#SAParamDirType_t">SAParamDirType_t</A> Types of a
parameter.
<LI><A
href="#SALongOrLobReaderModes_t">SALongOrLobReaderModes_t</A>
Long or Lob(CLob) data reading modes.
<LI><A
href="#SAPieceType_t">SAPieceType_t</A> Read piece of
Long or Lob(CLob) data description.</LI></UL>
<P>SQLAPI++ Library represents the following
<STRONG>typedef declarations</STRONG>:</P>
<UL>
<LI><A
href="#saLongOrLobWriter_t">saLongOrLobWriter_t</A> defines
Long or Lob writer callback.
<LI><A
href="#saLongOrLobReader_t">saLongOrLobReader_t</A> defines
Long or Lob reader callback.</LI></UL>
<P> </P>
<P><A name=SAClient_t><STRONG>SAClient_t</A>
enum</STRONG> describes a list of supported DBMS
clients:</P>
<P><FONT face=Arial size=2><STRONG>typedef enum {
<BR>
SA_Client_NotSpecified, // </STRONG>Client
is not
specified<STRONG><BR>
SA_ODBC_Client,
// </STRONG>ODBC
client<STRONG><BR>
SA_Oracle_Client,
// </STRONG> Oracle
client<STRONG><BR>
SA_SQLServer_Client, //
</STRONG>SQL Server
client<STRONG><BR>
SA_InterBase_Client,
// </STRONG>InterBase
client<STRONG><BR>
SA_SQLBase_Client,
// </STRONG>SQLBase
client<STRONG><BR>
SA_DB2_Client,
// </STRONG>DB2
client<BR><STRONG>
SA_Informix_Client,
// </STRONG>Informix
client<STRONG><BR>
SA_Sybase_Client,
// </STRONG>Sybase
client<BR>
<STRONG>SA_MySQL_Client,</STRONG>
// MySQL client<BR>
<STRONG>SA_PostgreSQL_Client</STRONG>
// PostgreSQL
client<STRONG><BR>}
SAClient_t;</STRONG></FONT></P>
<P><FONT face=Arial size=2> <STRONG>
</STRONG></FONT> </P>
<hr>
<P><A name=SAErrorClass_t><STRONG>SAErrorClass_t</A> enum</STRONG> describes a set of possible types of
errors:</P>
<P><FONT face=Arial size=2><STRONG>typedef enum {
<BR>
SA_No_Error,
// </STRONG>No error
occurred<STRONG><BR>
SA_UserGenerated_Error, //
</STRONG>User-generated
error<STRONG><BR>
SA_Library_Error,
// </STRONG>The Library
error<STRONG><BR>
SA_DBMS_API_Error
// </STRONG>DBMS API error<STRONG><BR>}
SAErrorClass_t;</STRONG></FONT></P>
<hr>
<P><A
name=SAIsolationLevel_t><STRONG>SAIsolationLevel_t</A> enum</STRONG> describes a possible transaction isolation
levels:</P>
<P><FONT face=Arial size=2><STRONG>typedef enum {
<BR>
SA_LevelUnknown =
-1,
// </STRONG>the default
<BR><STRONG>
SA_ANSILevel0,
// </STRONG>standard ANSI isolation level
0<STRONG><BR>
SA_ANSILevel1,
// </STRONG>standard ANSI isolation level
1<STRONG><BR>
SA_ANSILevel2,
// </STRONG>standard ANSI isolation level
2<STRONG><BR>
SA_ANSILevel3,
// </STRONG>standard ANSI isolation level
3<STRONG><BR>
SA_ReadUncommitted = SA_ANSILevel0, //
</STRONG>isolation level 'Read
Uncommitted'<BR><STRONG>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -