Definition in file SQLDBC_Types.h.
Go to the source code of this file.
#define CPP_BOOL_NOT_IMPLEMENTED |
This macro has been defined for compilers to which the bool
type is unknown, which is the case with Sun and some AIX compilers.
Definition at line 106 of file SQLDBC_Types.h.
#define SQLDBC_DATA_AT_EXEC (-2) |
Indicates that the data and length of the parameter will be known only at execution time.
Definition at line 227 of file SQLDBC_Types.h.
#define SQLDBC_DEFAULT_PARAM (-5) |
Flag indicating that the default parameter is to be used.
Definition at line 242 of file SQLDBC_Types.h.
#define SQLDBC_FALSE ((SQLDBC_Bool)0) |
#define SQLDBC_IGNORE (-6) |
Flag indicating that this parameter is to be ignored.
Definition at line 247 of file SQLDBC_Types.h.
#define SQLDBC_LEN_DATA_AT_EXEC | ( | length | ) | (-(length)+SQLDBC_LEN_DATA_AT_EXEC_OFFSET) |
Macro for late binding.
length | The length that the parameter will have. This macro is currently unused. |
Definition at line 260 of file SQLDBC_Types.h.
#define SQLDBC_LEN_DATA_AT_EXEC_OFFSET (-100) |
#define SQLDBC_NO_TOTAL (-4) |
Flag indicating that the SQLDBC cannot determine the total number of bytes.
Definition at line 237 of file SQLDBC_Types.h.
#define SQLDBC_NTS (-3) |
Indicator flag for the length of an zero-terminated string.
Definition at line 232 of file SQLDBC_Types.h.
#define SQLDBC_NULL_DATA (-1) |
#define SQLDBC_StringEncodingAscii SQLDBC_StringEncodingType::Ascii |
Plain 8-bit ASCII encoding (each byte stands for itself).
Definition at line 363 of file SQLDBC_Types.h.
#define SQLDBC_StringEncodingUCS2 SQLDBC_StringEncodingType::UCS2 |
#define SQLDBC_StringEncodingUCS2Native SQLDBC_StringEncodingType::UCS2 |
#define SQLDBC_StringEncodingUCS2Swapped SQLDBC_StringEncodingType::UCS2Swapped |
#define SQLDBC_StringEncodingUnknown SQLDBC_StringEncodingType::Unknown |
#define SQLDBC_StringEncodingUTF8 SQLDBC_StringEncodingType::UTF8 |
#define SQLDBC_TRUE ((SQLDBC_Bool)1) |
typedef unsigned char SQLDBC_Byte |
typedef signed int SQLDBC_Int |
typedef signed char SQLDBC_Int1 |
typedef signed short SQLDBC_Int2 |
typedef signed int SQLDBC_Int4 |
typedef long long SQLDBC_Int8 |
typedef SQLDBC_Int4 SQLDBC_Length |
Type definition for the length of certain argument.
This type is used for indicator/length variables in parameter binding.
Definition at line 208 of file SQLDBC_Types.h.
typedef signed long SQLDBC_Long |
A signed long type, which has 64-bit length on 64-bit platforms, and 32 bit length on 32-bit platforms.
Definition at line 147 of file SQLDBC_Types.h.
typedef SQLDBC_ULong SQLDBC_size_t |
typedef unsigned int SQLDBC_UInt |
typedef unsigned char SQLDBC_UInt1 |
typedef unsigned short SQLDBC_UInt2 |
typedef unsigned int SQLDBC_UInt4 |
typedef unsigned long long SQLDBC_UInt8 |
typedef unsigned long SQLDBC_ULong |
An unsigned long type, which has 64-bit length on 64-bit platforms, and 32 bit length on 32-bit platforms.
Definition at line 142 of file SQLDBC_Types.h.
typedef SQLDBC_Byte SQLDBC_UTF8 |
The possible date/time formats.
SQLDBC_DateTimeFormat_Format_None_C | Unknown, not set. |
SQLDBC_DateTimeFormat_Format_Normal_C | Normal (aka INTERNAL). |
SQLDBC_DateTimeFormat_Format_Iso_C | ISO (ODBC, JDBC) |
SQLDBC_DateTimeFormat_Format_Usa_C | USA |
SQLDBC_DateTimeFormat_Format_Eur_C | Europe |
SQLDBC_DateTimeFormat_Format_Jis_C | Japan |
SQLDBC_DateTimeFormat_Format_OracleDate_C |
|
SQLDBC_DateTimeFormat_Format_WasAnsiNowIsSameAsIso_C |
|
SQLDBC_DateTimeFormat_Format_TsEur_C |
|
Definition at line 560 of file SQLDBC_Types.h.
enum SQLDBC_HostType |
Types of host (native) variables.
Definition at line 455 of file SQLDBC_Types.h.
enum SQLDBC_Retcode |
Return code of functions.
This is not an error code, it only indicates the status of the function call.
Definition at line 268 of file SQLDBC_Types.h.
enum SQLDBC_Rowstatus |
Row status for mass operations.
The status for an inserted row is either one of the first two constants, or the row count of the individual column. The other constants are defined for updatable row sets.
Definition at line 293 of file SQLDBC_Types.h.
enum SQLDBC_SerialTag |
Possible values for getting the last inserted keys.
SQLDBC_FIRST_INSERTED_SERIAL | The first inserted key. |
SQLDBC_LAST_INSERTED_SERIAL | The last inserted key. |
Definition at line 579 of file SQLDBC_Types.h.
enum SQLDBC_SQLMode |
possible SQL modes.
SQLDBC_INTERNAL | SQL mode INTERNAL. |
SQLDBC_ANSI |
|
SQLDBC_DB2 |
|
SQLDBC_ORACLE | SQL mode ORACLE. |
SQLDBC_SAPR3 | SQL mode used for SAP R/3 |
Definition at line 316 of file SQLDBC_Types.h.
enum SQLDBC_SQLType |
Constants used for SQL data types.
These constants are delivered in the short infos of the database or provided by the application at parameter binding time.
SQLDBC_SQLTYPE_MIN | Minimum value internally used for checks. |
SQLDBC_SQLTYPE_FIXED |
Data type FIXED . |
SQLDBC_SQLTYPE_FLOAT |
Data type FLOAT . |
SQLDBC_SQLTYPE_CHA |
Data type CHAR ASCII . |
SQLDBC_SQLTYPE_CHE |
|
SQLDBC_SQLTYPE_CHB |
Data type CHAR BYTE . |
SQLDBC_SQLTYPE_ROWID |
|
SQLDBC_SQLTYPE_STRA |
Data type LONG ASCII . |
SQLDBC_SQLTYPE_STRE |
|
SQLDBC_SQLTYPE_STRB |
Data type LONG BYTE . |
SQLDBC_SQLTYPE_STRDB |
|
SQLDBC_SQLTYPE_DATE |
Data type DATE (SQL mode INTERNAL). |
SQLDBC_SQLTYPE_TIME |
Data type TIME (SQL mode INTERNAL). |
SQLDBC_SQLTYPE_VFLOAT |
Data type FLOAT (output of arithmetic expressions). |
SQLDBC_SQLTYPE_TIMESTAMP |
Data type TIMESTAMP (SQL mode INTERNAL), or DATE (SQL mode Oracle). |
SQLDBC_SQLTYPE_UNKNOWN |
|
SQLDBC_SQLTYPE_NUMBER |
|
SQLDBC_SQLTYPE_NONUMBER |
|
SQLDBC_SQLTYPE_DURATION |
|
SQLDBC_SQLTYPE_DBYTEEBCDIC |
|
SQLDBC_SQLTYPE_LONGA |
|
SQLDBC_SQLTYPE_LONGE |
|
SQLDBC_SQLTYPE_LONGB |
|
SQLDBC_SQLTYPE_LONGDB |
|
SQLDBC_SQLTYPE_BOOLEAN |
Data type BOOLEAN . |
SQLDBC_SQLTYPE_UNICODE |
Data type CHAR UNICODE . |
SQLDBC_SQLTYPE_DTFILLER1 |
|
SQLDBC_SQLTYPE_DTFILLER2 |
|
SQLDBC_SQLTYPE_DTFILLER3 |
|
SQLDBC_SQLTYPE_DTFILLER4 |
|
SQLDBC_SQLTYPE_SMALLINT |
Data type SMALLINT . |
SQLDBC_SQLTYPE_INTEGER |
Data type INTEGER . |
SQLDBC_SQLTYPE_VARCHARA |
Data type VARCHAR ASCII . |
SQLDBC_SQLTYPE_VARCHARE |
|
SQLDBC_SQLTYPE_VARCHARB |
Data type VARCHAR BYTE . |
SQLDBC_SQLTYPE_STRUNI |
Data type LONG UNICODE . |
SQLDBC_SQLTYPE_LONGUNI |
|
SQLDBC_SQLTYPE_VARCHARUNI |
Data type VARCHAR UNICODE . |
SQLDBC_SQLTYPE_UDT | Data type used for C++ Stored Procedures. |
SQLDBC_SQLTYPE_ABAPTABHANDLE | Data type used for C++ Stored Procedures. |
SQLDBC_SQLTYPE_DWYDE | Data type used for C++ Stored Procedures. |
SQLDBC_SQLTYPE_MAX | Maximum value for checks. |
Definition at line 399 of file SQLDBC_Types.h.
A list of all kinds of warnings that are supported by this interfaces.
SQLDBC_SQLWARNING_DATA_TRUNCATED | Input or output data has been truncated. |
SQLDBC_SQLWARNING_MAX | For checks. |
Definition at line 526 of file SQLDBC_Types.h.
Definition at line 344 of file SQLDBC_Types.h.