sqlext.h File Reference

Header for the Microsoft SQL Extensions. More...

#include "sql.h"
Include dependency graph for sqlext.h:
This graph shows which files directly or indirectly include this file:

Macros

#define SQL_SPEC_MAJOR 3 /* Major version of specification */
#define SQL_SPEC_MINOR 52 /* Minor version of specification */
#define SQL_SPEC_STRING "03.52" /* String constant for version */
#define SQL_SQLSTATE_SIZE 5 /* size of SQLSTATE */
#define SQL_MAX_DSN_LENGTH 32 /* maximum data source name size */
#define SQL_MAX_OPTION_STRING_LENGTH 256
#define SQL_NO_DATA_FOUNDSQL_NO_DATA
#define SQL_HANDLE_SENV 5
#define SQL_ATTR_ODBC_VERSION 200
#define SQL_ATTR_CONNECTION_POOLING 201
#define SQL_ATTR_CP_MATCH 202
#define SQL_CP_OFF 0
#define SQL_CP_ONE_PER_DRIVER 1
#define SQL_CP_ONE_PER_HENV 2
#define SQL_CP_DEFAULTSQL_CP_OFF
#define SQL_CP_STRICT_MATCH 0
#define SQL_CP_RELAXED_MATCH 1
#define SQL_CP_MATCH_DEFAULTSQL_CP_STRICT_MATCH
#define SQL_OV_ODBC2 2
#define SQL_OV_ODBC3 3
#define SQL_ACCESS_MODE 101
#define SQL_AUTOCOMMIT 102
#define SQL_LOGIN_TIMEOUT 103
#define SQL_OPT_TRACE 104
#define SQL_OPT_TRACEFILE 105
#define SQL_TRANSLATE_DLL 106
#define SQL_TRANSLATE_OPTION 107
#define SQL_TXN_ISOLATION 108
#define SQL_CURRENT_QUALIFIER 109
#define SQL_ODBC_CURSORS 110
#define SQL_QUIET_MODE 111
#define SQL_PACKET_SIZE 112
#define SQL_ATTR_ACCESS_MODESQL_ACCESS_MODE
#define SQL_ATTR_AUTOCOMMITSQL_AUTOCOMMIT
#define SQL_ATTR_CONNECTION_TIMEOUT 113
#define SQL_ATTR_CURRENT_CATALOGSQL_CURRENT_QUALIFIER
#define SQL_ATTR_DISCONNECT_BEHAVIOR 114
#define SQL_ATTR_ANSI_APP 115
#define SQL_ATTR_ENLIST_IN_DTC 1207
#define SQL_ATTR_ENLIST_IN_XA 1208
#define SQL_ATTR_LOGIN_TIMEOUTSQL_LOGIN_TIMEOUT
#define SQL_ATTR_ODBC_CURSORSSQL_ODBC_CURSORS
#define SQL_ATTR_PACKET_SIZESQL_PACKET_SIZE
#define SQL_ATTR_QUIET_MODESQL_QUIET_MODE
#define SQL_ATTR_TRACESQL_OPT_TRACE
#define SQL_ATTR_TRACEFILESQL_OPT_TRACEFILE
#define SQL_ATTR_TRANSLATE_LIBSQL_TRANSLATE_DLL
#define SQL_ATTR_TRANSLATE_OPTIONSQL_TRANSLATE_OPTION
#define SQL_ATTR_TXN_ISOLATIONSQL_TXN_ISOLATION
#define SQL_ATTR_CONNECTION_DEAD 1209
#define SQL_MODE_READ_WRITE 0
#define SQL_MODE_READ_ONLY 1
#define SQL_MODE_DEFAULTSQL_MODE_READ_WRITE
#define SQL_AUTOCOMMIT_OFF 0
#define SQL_AUTOCOMMIT_ON 1
#define SQL_AUTOCOMMIT_DEFAULTSQL_AUTOCOMMIT_ON
#define SQL_LOGIN_TIMEOUT_DEFAULT 15
#define SQL_OPT_TRACE_OFF 0
#define SQL_OPT_TRACE_ON 1
#define SQL_OPT_TRACE_DEFAULTSQL_OPT_TRACE_OFF
#define SQL_OPT_TRACE_FILE_DEFAULT "\\SQL.LOG"
#define SQL_CUR_USE_IF_NEEDED 0
#define SQL_CUR_USE_ODBC 1
#define SQL_CUR_USE_DRIVER 2
#define SQL_CUR_DEFAULTSQL_CUR_USE_DRIVER
#define SQL_DB_RETURN_TO_POOL 0
#define SQL_DB_DISCONNECT 1
#define SQL_DB_DEFAULTSQL_DB_RETURN_TO_POOL
#define SQL_DTC_DONE 0L
#define SQL_CD_TRUE 1L
#define SQL_CD_FALSE 0L
#define SQL_AA_TRUE 1L /* the application is an ANSI app */
#define SQL_AA_FALSE 0L /* the application is a Unicode app */
#define SQL_QUERY_TIMEOUT 0
#define SQL_MAX_ROWS 1
#define SQL_NOSCAN 2
#define SQL_MAX_LENGTH 3
#define SQL_ASYNC_ENABLE 4
#define SQL_BIND_TYPE 5
#define SQL_CURSOR_TYPE 6
#define SQL_CONCURRENCY 7
#define SQL_KEYSET_SIZE 8
#define SQL_ROWSET_SIZE 9
#define SQL_SIMULATE_CURSOR 10
#define SQL_RETRIEVE_DATA 11
#define SQL_USE_BOOKMARKS 12
#define SQL_GET_BOOKMARK 13
#define SQL_ROW_NUMBER 14
#define SQL_ATTR_ASYNC_ENABLE 4
#define SQL_ATTR_CONCURRENCYSQL_CONCURRENCY
#define SQL_ATTR_CURSOR_TYPESQL_CURSOR_TYPE
#define SQL_ATTR_ENABLE_AUTO_IPD 15
#define SQL_ATTR_FETCH_BOOKMARK_PTR 16
#define SQL_ATTR_KEYSET_SIZESQL_KEYSET_SIZE
#define SQL_ATTR_MAX_LENGTHSQL_MAX_LENGTH
#define SQL_ATTR_MAX_ROWSSQL_MAX_ROWS
#define SQL_ATTR_NOSCANSQL_NOSCAN
#define SQL_ATTR_PARAM_BIND_OFFSET_PTR 17
#define SQL_ATTR_PARAM_BIND_TYPE 18
#define SQL_ATTR_PARAM_OPERATION_PTR 19
#define SQL_ATTR_PARAM_STATUS_PTR 20
#define SQL_ATTR_PARAMS_PROCESSED_PTR 21
#define SQL_ATTR_PARAMSET_SIZE 22
#define SQL_ATTR_QUERY_TIMEOUTSQL_QUERY_TIMEOUT
#define SQL_ATTR_RETRIEVE_DATASQL_RETRIEVE_DATA
#define SQL_ATTR_ROW_BIND_OFFSET_PTR 23
#define SQL_ATTR_ROW_BIND_TYPESQL_BIND_TYPE
#define SQL_ATTR_ROW_NUMBERSQL_ROW_NUMBER
#define SQL_ATTR_ROW_OPERATION_PTR 24
#define SQL_ATTR_ROW_STATUS_PTR 25
#define SQL_ATTR_ROWS_FETCHED_PTR 26
#define SQL_ATTR_ROW_ARRAY_SIZE 27
#define SQL_ATTR_SIMULATE_CURSORSQL_SIMULATE_CURSOR
#define SQL_ATTR_USE_BOOKMARKSSQL_USE_BOOKMARKS
#define SQL_STMT_OPT_MAXSQL_ROW_NUMBER
#define SQL_STMT_OPT_MINSQL_QUERY_TIMEOUT
#define SQL_COL_PRED_CHARSQL_LIKE_ONLY
#define SQL_COL_PRED_BASICSQL_ALL_EXCEPT_LIKE
#define SQL_IS_POINTER (-4)
#define SQL_IS_UINTEGER (-5)
#define SQL_IS_INTEGER (-6)
#define SQL_IS_USMALLINT (-7)
#define SQL_IS_SMALLINT (-8)
#define SQL_PARAM_BIND_BY_COLUMN 0
#define SQL_PARAM_BIND_TYPE_DEFAULTSQL_PARAM_BIND_BY_COLUMN
#define SQL_QUERY_TIMEOUT_DEFAUL 0
#define SQL_MAX_ROWS_DEFAULT 0
#define SQL_NOSCAN_OFF 0
#define SQL_NOSCAN_ON 1
#define SQL_NOSCAN_DEFAULTSQL_NOSCAN_OFF
#define SQL_MAX_LENGTH_DEFAULT 0
#define SQL_ASYNC_ENABLE_OFF 0
#define SQL_ASYNC_ENABLE_ON 1
#define SQL_ASYNC_ENABLE_DEFAULTSQL_ASYNC_ENABLE_OFF
#define SQL_BIND_BY_COLUMN 0
#define SQL_BIND_TYPE_DEFAULTSQL_BIND_BY_COLUMN
#define SQL_CONCUR_READ_ONLY 1
#define SQL_CONCUR_LOCK 2
#define SQL_CONCUR_ROWVER 3
#define SQL_CONCUR_VALUES 4
#define SQL_CONCUR_DEFAULTSQL_CONCUR_READ_ONLY
#define SQL_CURSOR_FORWARD_ONLY 0
#define SQL_CURSOR_KEYSET_DRIVEN 1
#define SQL_CURSOR_DYNAMIC 2
#define SQL_CURSOR_STATIC 3
#define SQL_CURSOR_TYPE_DEFAULTSQL_CURSOR_FORWARD_ONLY
#define SQL_ROWSET_SIZE_DEFAULT 1
#define SQL_KEYSET_SIZE_DEFAULT 0
#define SQL_SC_NON_UNIQUE 0
#define SQL_SC_TRY_UNIQUE 1
#define SQL_SC_UNIQUE 2
#define SQL_RD_OFF 0
#define SQL_RD_ON 1
#define SQL_RD_DEFAULTSQL_RD_ON
#define SQL_UB_OFF 0
#define SQL_UB_ON 1
#define SQL_UB_DEFAULTSQL_UB_OFF
#define SQL_UB_FIXEDSQL_UB_ON
#define SQL_UB_VARIABLE 2L
#define SQL_DESC_ARRAY_SIZE 20
#define SQL_DESC_ARRAY_STATUS_PTR 21
#define SQL_DESC_AUTO_UNIQUE_VALUESQL_COLUMN_AUTO_INCREMENT
#define SQL_DESC_BASE_COLUMN_NAME 22
#define SQL_DESC_BASE_TABLE_NAME 23
#define SQL_DESC_BIND_OFFSET_PTR 24
#define SQL_DESC_BIND_TYPE 25
#define SQL_DESC_CASE_SENSITIVESQL_COLUMN_CASE_SENSITIVE
#define SQL_DESC_CATALOG_NAMESQL_COLUMN_QUALIFIER_NAME
#define SQL_DESC_CONCISE_TYPESQL_COLUMN_TYPE
#define SQL_DESC_DATETIME_INTERVAL_PRECISION 26
#define SQL_DESC_DISPLAY_SIZESQL_COLUMN_DISPLAY_SIZE
#define SQL_DESC_FIXED_PREC_SCALESQL_COLUMN_MONEY
#define SQL_DESC_LABELSQL_COLUMN_LABEL
#define SQL_DESC_LITERAL_PREFIX 27
#define SQL_DESC_LITERAL_SUFFIX 28
#define SQL_DESC_LOCAL_TYPE_NAME 29
#define SQL_DESC_MAXIMUM_SCALE 30
#define SQL_DESC_MINIMUM_SCALE 31
#define SQL_DESC_NUM_PREC_RADIX 32
#define SQL_DESC_PARAMETER_TYPE 33
#define SQL_DESC_ROWS_PROCESSED_PTR 34
#define SQL_DESC_ROWVER 35
#define SQL_DESC_SCHEMA_NAMESQL_COLUMN_OWNER_NAME
#define SQL_DESC_SEARCHABLESQL_COLUMN_SEARCHABLE
#define SQL_DESC_TYPE_NAMESQL_COLUMN_TYPE_NAME
#define SQL_DESC_TABLE_NAMESQL_COLUMN_TABLE_NAME
#define SQL_DESC_UNSIGNEDSQL_COLUMN_UNSIGNED
#define SQL_DESC_UPDATABLESQL_COLUMN_UPDATABLE
#define SQL_DIAG_CURSOR_ROW_COUNT (-1249)
#define SQL_DIAG_ROW_NUMBER (-1248)
#define SQL_DIAG_COLUMN_NUMBER (-1247)
#define SQL_DATE 9
#define SQL_INTERVAL 10
#define SQL_TIME 10
#define SQL_TIMESTAMP 11
#define SQL_LONGVARCHAR (-1)
#define SQL_BINARY (-2)
#define SQL_VARBINARY (-3)
#define SQL_LONGVARBINARY (-4)
#define SQL_BIGINT (-5)
#define SQL_TINYINT (-6)
#define SQL_BIT (-7)
#define SQL_GUID (-11)
#define SQL_CODE_YEAR 1
#define SQL_CODE_MONTH 2
#define SQL_CODE_DAY 3
#define SQL_CODE_HOUR 4
#define SQL_CODE_MINUTE 5
#define SQL_CODE_SECOND 6
#define SQL_CODE_YEAR_TO_MONTH 7
#define SQL_CODE_DAY_TO_HOUR 8
#define SQL_CODE_DAY_TO_MINUTE 9
#define SQL_CODE_DAY_TO_SECOND 10
#define SQL_CODE_HOUR_TO_MINUTE 11
#define SQL_CODE_HOUR_TO_SECOND 12
#define SQL_CODE_MINUTE_TO_SECOND 13
#define SQL_INTERVAL_YEAR (100 + SQL_CODE_YEAR)
#define SQL_INTERVAL_MONTH (100 + SQL_CODE_MONTH)
#define SQL_INTERVAL_DAY (100 + SQL_CODE_DAY)
#define SQL_INTERVAL_HOUR (100 + SQL_CODE_HOUR)
#define SQL_INTERVAL_MINUTE (100 + SQL_CODE_MINUTE)
#define SQL_INTERVAL_SECOND (100 + SQL_CODE_SECOND)
#define SQL_INTERVAL_YEAR_TO_MONTH (100 + SQL_CODE_YEAR_TO_MONTH)
#define SQL_INTERVAL_DAY_TO_HOUR (100 + SQL_CODE_DAY_TO_HOUR)
#define SQL_INTERVAL_DAY_TO_MINUTE (100 + SQL_CODE_DAY_TO_MINUTE)
#define SQL_INTERVAL_DAY_TO_SECOND (100 + SQL_CODE_DAY_TO_SECOND)
#define SQL_INTERVAL_HOUR_TO_MINUTE (100 + SQL_CODE_HOUR_TO_MINUTE)
#define SQL_INTERVAL_HOUR_TO_SECOND (100 + SQL_CODE_HOUR_TO_SECOND)
#define SQL_INTERVAL_MINUTE_TO_SECOND (100 + SQL_CODE_MINUTE_TO_SECOND)
#define SQL_UNICODESQL_WCHAR
#define SQL_UNICODE_VARCHARSQL_WVARCHAR
#define SQL_UNICODE_LONGVARCHARSQL_WLONGVARCHAR
#define SQL_UNICODE_CHARSQL_WCHAR
#define SQL_DATABASE_NAME 16 /* for SQLGetInfo() */
#define SQL_C_CHARSQL_CHAR
#define SQL_C_LONGSQL_INTEGER
#define SQL_C_SHORTSQL_SMALLINT
#define SQL_C_FLOATSQL_REAL
#define SQL_C_DOUBLESQL_DOUBLE
#define SQL_C_NUMERICSQL_NUMERIC
#define SQL_C_DEFAULT 99
#define SQL_SIGNED_OFFSET (-20)
#define SQL_UNSIGNED_OFFSET (-22)
#define SQL_C_DATESQL_DATE
#define SQL_C_TIMESQL_TIME
#define SQL_C_TIMESTAMPSQL_TIMESTAMP
#define SQL_C_TYPE_DATESQL_TYPE_DATE
#define SQL_C_TYPE_TIMESQL_TYPE_TIME
#define SQL_C_TYPE_TIMESTAMPSQL_TYPE_TIMESTAMP
#define SQL_C_INTERVAL_YEARSQL_INTERVAL_YEAR
#define SQL_C_INTERVAL_MONTHSQL_INTERVAL_MONTH
#define SQL_C_INTERVAL_DAYSQL_INTERVAL_DAY
#define SQL_C_INTERVAL_HOURSQL_INTERVAL_HOUR
#define SQL_C_INTERVAL_MINUTESQL_INTERVAL_MINUTE
#define SQL_C_INTERVAL_SECONDSQL_INTERVAL_SECOND
#define SQL_C_INTERVAL_YEAR_TO_MONTHSQL_INTERVAL_YEAR_TO_MONTH
#define SQL_C_INTERVAL_DAY_TO_HOURSQL_INTERVAL_DAY_TO_HOUR
#define SQL_C_INTERVAL_DAY_TO_MINUTESQL_INTERVAL_DAY_TO_MINUTE
#define SQL_C_INTERVAL_DAY_TO_SECONDSQL_INTERVAL_DAY_TO_SECOND
#define SQL_C_INTERVAL_HOUR_TO_MINUTESQL_INTERVAL_HOUR_TO_MINUTE
#define SQL_C_INTERVAL_HOUR_TO_SECONDSQL_INTERVAL_HOUR_TO_SECOND
#define SQL_C_INTERVAL_MINUTE_TO_SECONDSQL_INTERVAL_MINUTE_TO_SECOND
#define SQL_C_BINARYSQL_BINARY
#define SQL_C_BITSQL_BIT
#define SQL_C_SBIGINT (SQL_BIGINT + SQL_SIGNED_OFFSET)
#define SQL_C_UBIGINT (SQL_BIGINT + SQL_UNSIGNED_OFFSET)
#define SQL_C_TINYINTSQL_TINYINT
#define SQL_C_SLONG (SQL_C_LONG + SQL_SIGNED_OFFSET)
#define SQL_C_SSHORT (SQL_C_SHORT + SQL_SIGNED_OFFSET)
#define SQL_C_STINYINT (SQL_TINYINT + SQL_SIGNED_OFFSET)
#define SQL_C_ULONG (SQL_C_LONG + SQL_UNSIGNED_OFFSET)
#define SQL_C_USHORT (SQL_C_SHORT + SQL_UNSIGNED_OFFSET)
#define SQL_C_UTINYINT (SQL_TINYINT + SQL_UNSIGNED_OFFSET)
#define SQL_C_BOOKMARKSQL_C_ULONG
#define SQL_C_GUIDSQL_GUID
#define SQL_TYPE_NULL 0
#define SQL_TYPE_MINSQL_BIT
#define SQL_TYPE_MAXSQL_VARCHAR
#define SQL_DRIVER_C_TYPE_BASE 0x4000
#define SQL_DRIVER_SQL_TYPE_BASE 0x4000
#define SQL_DRIVER_DESC_FIELD_BASE 0x4000
#define SQL_DRIVER_DIAG_FIELD_BASE 0x4000
#define SQL_DRIVER_INFO_TYPE_BASE 0x4000
#define SQL_DRIVER_CONN_ATTR_BASE 0x00004000 /* 32-bit */
#define SQL_DRIVER_STMT_ATTR_BASE 0x00004000 /* 32-bit */
#define SQL_C_VARBOOKMARKSQL_C_BINARY
#define SQL_NO_ROW_NUMBER (-1)
#define SQL_NO_COLUMN_NUMBER (-1)
#define SQL_ROW_NUMBER_UNKNOWN (-2)
#define SQL_COLUMN_NUMBER_UNKNOWN (-2)
#define SQL_DEFAULT_PARAM (-5)
#define SQL_IGNORE (-6)
#define SQL_COLUMN_IGNORESQL_IGNORE
#define SQL_LEN_DATA_AT_EXEC_OFFSET (-100)
#define SQL_LEN_DATA_AT_EXEC(length) (-(length) + SQL_LEN_DATA_AT_EXEC_OFFSET)
#define SQL_LEN_BINARY_ATTR_OFFSET (-100)
#define SQL_LEN_BINARY_ATTR(length) (-(length) + SQL_LEN_BINARY_ATTR_OFFSET)
#define SQL_PARAM_TYPE_DEFAULTSQL_PARAM_INPUT_OUTPUT
#define SQL_SETPARAM_VALUE_MAX (-1L)
#define SQL_COLUMN_COUNT 0
#define SQL_COLUMN_NAME 1
#define SQL_COLUMN_TYPE 2
#define SQL_COLUMN_LENGTH 3
#define SQL_COLUMN_PRECISION 4
#define SQL_COLUMN_SCALE 5
#define SQL_COLUMN_DISPLAY_SIZE 6
#define SQL_COLUMN_NULLABLE 7
#define SQL_COLUMN_UNSIGNED 8
#define SQL_COLUMN_MONEY 9
#define SQL_COLUMN_UPDATABLE 10
#define SQL_COLUMN_AUTO_INCREMENT 11
#define SQL_COLUMN_CASE_SENSITIVE 12
#define SQL_COLUMN_SEARCHABLE 13
#define SQL_COLUMN_TYPE_NAME 14
#define SQL_COLUMN_TABLE_NAME 15
#define SQL_COLUMN_OWNER_NAME 16
#define SQL_COLUMN_QUALIFIER_NAME 17
#define SQL_COLUMN_LABEL 18
#define SQL_COLATT_OPT_MAXSQL_COLUMN_LABEL
#define SQL_COLUMN_DRIVER_START 1000
#define SQL_COLATT_OPT_MINSQL_COLUMN_COUNT
#define SQL_ATTR_READONLY 0
#define SQL_ATTR_WRITE 1
#define SQL_ATTR_READWRITE_UNKNOWN 2
#define SQL_UNSEARCHABLE 0
#define SQL_LIKE_ONLY 1
#define SQL_ALL_EXCEPT_LIKE 2
#define SQL_SEARCHABLE 3
#define SQL_PRED_SEARCHABLESQL_SEARCHABLE
#define SQL_NO_TOTAL (-4)
#define SQL_API_SQLALLOCHANDLESTD 73
#define SQL_API_SQLBULKOPERATIONS 24
#define SQL_API_SQLBINDPARAMETER 72
#define SQL_API_SQLBROWSECONNECT 55
#define SQL_API_SQLCOLATTRIBUTES 6
#define SQL_API_SQLCOLUMNPRIVILEGES 56
#define SQL_API_SQLDESCRIBEPARAM 58
#define SQL_API_SQLDRIVERCONNECT 41
#define SQL_API_SQLDRIVERS 71
#define SQL_API_SQLEXTENDEDFETCH 59
#define SQL_API_SQLFOREIGNKEYS 60
#define SQL_API_SQLMORERESULTS 61
#define SQL_API_SQLNATIVESQL 62
#define SQL_API_SQLNUMPARAMS 63
#define SQL_API_SQLPARAMOPTIONS 64
#define SQL_API_SQLPRIMARYKEYS 65
#define SQL_API_SQLPROCEDURECOLUMNS 66
#define SQL_API_SQLPROCEDURES 67
#define SQL_API_SQLSETPOS 68
#define SQL_API_SQLSETSCROLLOPTIONS 69
#define SQL_API_SQLTABLEPRIVILEGES 70
#define SQL_API_ALL_FUNCTIONS 0
#define SQL_API_LOADBYORDINAL 199
#define SQL_API_ODBC3_ALL_FUNCTIONS 999
#define SQL_API_ODBC3_ALL_FUNCTIONS_SIZE 250 /* array of 250 words */
#define SQL_FUNC_EXISTS(pfExists, uwAPI)
#define SQL_INFO_FIRST 0
#define SQL_ACTIVE_CONNECTIONS 0 /* MAX_DRIVER_CONNECTIONS */
#define SQL_ACTIVE_STATEMENTS 1 /* MAX_CONCURRENT_ACTIVITIES */
#define SQL_DRIVER_HDBC 3
#define SQL_DRIVER_HENV 4
#define SQL_DRIVER_HSTMT 5
#define SQL_DRIVER_NAME 6
#define SQL_DRIVER_VER 7
#define SQL_ODBC_API_CONFORMANCE 9
#define SQL_ODBC_VER 10
#define SQL_ROW_UPDATES 11
#define SQL_ODBC_SAG_CLI_CONFORMANCE 12
#define SQL_ODBC_SQL_CONFORMANCE 15
#define SQL_PROCEDURES 21
#define SQL_CONCAT_NULL_BEHAVIOR 22
#define SQL_CURSOR_ROLLBACK_BEHAVIOR 24
#define SQL_EXPRESSIONS_IN_ORDERBY 27
#define SQL_MAX_OWNER_NAME_LEN 32 /* MAX_SCHEMA_NAME_LEN */
#define SQL_MAX_PROCEDURE_NAME_LEN 33
#define SQL_MAX_QUALIFIER_NAME_LEN 34 /* MAX_CATALOG_NAME_LEN */
#define SQL_MULT_RESULT_SETS 36
#define SQL_MULTIPLE_ACTIVE_TXN 37
#define SQL_OUTER_JOINS 38
#define SQL_OWNER_TERM 39
#define SQL_PROCEDURE_TERM 40
#define SQL_QUALIFIER_NAME_SEPARATOR 41
#define SQL_QUALIFIER_TERM 42
#define SQL_SCROLL_OPTIONS 44
#define SQL_TABLE_TERM 45
#define SQL_CONVERT_FUNCTIONS 48
#define SQL_NUMERIC_FUNCTIONS 49
#define SQL_STRING_FUNCTIONS 50
#define SQL_SYSTEM_FUNCTIONS 51
#define SQL_TIMEDATE_FUNCTIONS 52
#define SQL_CONVERT_BIGINT 53
#define SQL_CONVERT_BINARY 54
#define SQL_CONVERT_BIT 55
#define SQL_CONVERT_CHAR 56
#define SQL_CONVERT_DATE 57
#define SQL_CONVERT_DECIMAL 58
#define SQL_CONVERT_DOUBLE 59
#define SQL_CONVERT_FLOAT 60
#define SQL_CONVERT_INTEGER 61
#define SQL_CONVERT_LONGVARCHAR 62
#define SQL_CONVERT_NUMERIC 63
#define SQL_CONVERT_REAL 64
#define SQL_CONVERT_SMALLINT 65
#define SQL_CONVERT_TIME 66
#define SQL_CONVERT_TIMESTAMP 67
#define SQL_CONVERT_TINYINT 68
#define SQL_CONVERT_VARBINARY 69
#define SQL_CONVERT_VARCHAR 70
#define SQL_CONVERT_LONGVARBINARY 71
#define SQL_ODBC_SQL_OPT_IEF 73 /* SQL_INTEGRITY */
#define SQL_CORRELATION_NAME 74
#define SQL_NON_NULLABLE_COLUMNS 75
#define SQL_DRIVER_HLIB 76
#define SQL_DRIVER_ODBC_VER 77
#define SQL_LOCK_TYPES 78
#define SQL_POS_OPERATIONS 79
#define SQL_POSITIONED_STATEMENTS 80
#define SQL_BOOKMARK_PERSISTENCE 82
#define SQL_STATIC_SENSITIVITY 83
#define SQL_FILE_USAGE 84
#define SQL_COLUMN_ALIAS 87
#define SQL_GROUP_BY 88
#define SQL_KEYWORDS 89
#define SQL_OWNER_USAGE 91
#define SQL_QUALIFIER_USAGE 92
#define SQL_QUOTED_IDENTIFIER_CASE 93
#define SQL_SUBQUERIES 95
#define SQL_UNION 96
#define SQL_MAX_ROW_SIZE_INCLUDES_LONG 103
#define SQL_MAX_CHAR_LITERAL_LEN 108
#define SQL_TIMEDATE_ADD_INTERVALS 109
#define SQL_TIMEDATE_DIFF_INTERVALS 110
#define SQL_NEED_LONG_DATA_LEN 111
#define SQL_MAX_BINARY_LITERAL_LEN 112
#define SQL_LIKE_ESCAPE_CLAUSE 113
#define SQL_QUALIFIER_LOCATION 114
#define SQL_ACTIVE_ENVIRONMENTS 116
#define SQL_ALTER_DOMAIN 117
#define SQL_SQL_CONFORMANCE 118
#define SQL_DATETIME_LITERALS 119
#define SQL_ASYNC_MODE 10021
#define SQL_BATCH_ROW_COUNT 120
#define SQL_BATCH_SUPPORT 121
#define SQL_CATALOG_LOCATIONSQL_QUALIFIER_LOCATION
#define SQL_CATALOG_NAME_SEPARATORSQL_QUALIFIER_NAME_SEPARATOR
#define SQL_CATALOG_TERMSQL_QUALIFIER_TERM
#define SQL_CATALOG_USAGESQL_QUALIFIER_USAGE
#define SQL_CONVERT_WCHAR 122
#define SQL_CONVERT_INTERVAL_DAY_TIME 123
#define SQL_CONVERT_INTERVAL_YEAR_MONTH 124
#define SQL_CONVERT_WLONGVARCHAR 125
#define SQL_CONVERT_WVARCHAR 126
#define SQL_CREATE_ASSERTION 127
#define SQL_CREATE_CHARACTER_SET 128
#define SQL_CREATE_COLLATION 129
#define SQL_CREATE_DOMAIN 130
#define SQL_CREATE_SCHEMA 131
#define SQL_CREATE_TABLE 132
#define SQL_CREATE_TRANSLATION 133
#define SQL_CREATE_VIEW 134
#define SQL_DRIVER_HDESC 135
#define SQL_DROP_ASSERTION 136
#define SQL_DROP_CHARACTER_SET 137
#define SQL_DROP_COLLATION 138
#define SQL_DROP_DOMAIN 139
#define SQL_DROP_SCHEMA 140
#define SQL_DROP_TABLE 141
#define SQL_DROP_TRANSLATION 142
#define SQL_DROP_VIEW 143
#define SQL_DYNAMIC_CURSOR_ATTRIBUTES1 144
#define SQL_DYNAMIC_CURSOR_ATTRIBUTES2 145
#define SQL_FORWARD_ONLY_CURSOR_ATTRIBUTES1 146
#define SQL_FORWARD_ONLY_CURSOR_ATTRIBUTES2 147
#define SQL_INDEX_KEYWORDS 148
#define SQL_INFO_SCHEMA_VIEWS 149
#define SQL_KEYSET_CURSOR_ATTRIBUTES1 150
#define SQL_KEYSET_CURSOR_ATTRIBUTES2 151
#define SQL_MAX_ASYNC_CONCURRENT_STATEMENTS 10022 /* new X/Open spec */
#define SQL_ODBC_INTERFACE_CONFORMANCE 152
#define SQL_PARAM_ARRAY_ROW_COUNTS 153
#define SQL_PARAM_ARRAY_SELECTS 154
#define SQL_SCHEMA_TERMSQL_OWNER_TERM
#define SQL_SCHEMA_USAGESQL_OWNER_USAGE
#define SQL_SQL92_DATETIME_FUNCTIONS 155
#define SQL_SQL92_FOREIGN_KEY_DELETE_RULE 156
#define SQL_SQL92_FOREIGN_KEY_UPDATE_RULE 157
#define SQL_SQL92_GRANT 158
#define SQL_SQL92_NUMERIC_VALUE_FUNCTIONS 159
#define SQL_SQL92_PREDICATES 160
#define SQL_SQL92_RELATIONAL_JOIN_OPERATORS 161
#define SQL_SQL92_REVOKE 162
#define SQL_SQL92_ROW_VALUE_CONSTRUCTOR 163
#define SQL_SQL92_STRING_FUNCTIONS 164
#define SQL_SQL92_VALUE_EXPRESSIONS 165
#define SQL_STANDARD_CLI_CONFORMANCE 166
#define SQL_STATIC_CURSOR_ATTRIBUTES1 167
#define SQL_STATIC_CURSOR_ATTRIBUTES2 168
#define SQL_AGGREGATE_FUNCTIONS 169
#define SQL_DDL_INDEX 170
#define SQL_DM_VER 171
#define SQL_INSERT_STATEMENT 172
#define SQL_CONVERT_GUID 173
#define SQL_UNION_STATEMENTSQL_UNION
#define SQL_DTC_TRANSITION_COST 1750
#define SQL_AT_ADD_COLUMN_SINGLE 0x00000020L
#define SQL_AT_ADD_COLUMN_DEFAULT 0x00000040L
#define SQL_AT_ADD_COLUMN_COLLATION 0x00000080L
#define SQL_AT_SET_COLUMN_DEFAULT 0x00000100L
#define SQL_AT_DROP_COLUMN_DEFAULT 0x00000200L
#define SQL_AT_DROP_COLUMN_CASCADE 0x00000400L
#define SQL_AT_DROP_COLUMN_RESTRICT 0x00000800L
#define SQL_AT_ADD_TABLE_CONSTRAINT 0x00001000L
#define SQL_AT_DROP_TABLE_CONSTRAINT_CASCADE 0x00002000L
#define SQL_AT_DROP_TABLE_CONSTRAINT_RESTRICT 0x00004000L
#define SQL_AT_CONSTRAINT_NAME_DEFINITION 0x00008000L
#define SQL_AT_CONSTRAINT_INITIALLY_DEFERRED 0x00010000L
#define SQL_AT_CONSTRAINT_INITIALLY_IMMEDIATE 0x00020000L
#define SQL_AT_CONSTRAINT_DEFERRABLE 0x00040000L
#define SQL_AT_CONSTRAINT_NON_DEFERRABLE 0x00080000L
#define SQL_CVT_CHAR 0x00000001L
#define SQL_CVT_NUMERIC 0x00000002L
#define SQL_CVT_DECIMAL 0x00000004L
#define SQL_CVT_INTEGER 0x00000008L
#define SQL_CVT_SMALLINT 0x00000010L
#define SQL_CVT_FLOAT 0x00000020L
#define SQL_CVT_REAL 0x00000040L
#define SQL_CVT_DOUBLE 0x00000080L
#define SQL_CVT_VARCHAR 0x00000100L
#define SQL_CVT_LONGVARCHAR 0x00000200L
#define SQL_CVT_BINARY 0x00000400L
#define SQL_CVT_VARBINARY 0x00000800L
#define SQL_CVT_BIT 0x00001000L
#define SQL_CVT_TINYINT 0x00002000L
#define SQL_CVT_BIGINT 0x00004000L
#define SQL_CVT_DATE 0x00008000L
#define SQL_CVT_TIME 0x00010000L
#define SQL_CVT_TIMESTAMP 0x00020000L
#define SQL_CVT_LONGVARBINARY 0x00040000L
#define SQL_CVT_INTERVAL_YEAR_MONTH 0x00080000L
#define SQL_CVT_INTERVAL_DAY_TIME 0x00100000L
#define SQL_CVT_WCHAR 0x00200000L
#define SQL_CVT_WLONGVARCHAR 0x00400000L
#define SQL_CVT_WVARCHAR 0x00800000L
#define SQL_FN_CVT_CONVERT 0x00000001L
#define SQL_FN_CVT_CAST 0x00000002L
#define SQL_FN_STR_CONCAT 0x00000001L
#define SQL_FN_STR_INSERT 0x00000002L
#define SQL_FN_STR_LEFT 0x00000004L
#define SQL_FN_STR_LTRIM 0x00000008L
#define SQL_FN_STR_LENGTH 0x00000010L
#define SQL_FN_STR_LOCATE 0x00000020L
#define SQL_FN_STR_LCASE 0x00000040L
#define SQL_FN_STR_REPEAT 0x00000080L
#define SQL_FN_STR_REPLACE 0x00000100L
#define SQL_FN_STR_RIGHT 0x00000200L
#define SQL_FN_STR_RTRIM 0x00000400L
#define SQL_FN_STR_SUBSTRING 0x00000800L
#define SQL_FN_STR_UCASE 0x00001000L
#define SQL_FN_STR_ASCII 0x00002000L
#define SQL_FN_STR_CHAR 0x00004000L
#define SQL_FN_STR_DIFFERENCE 0x00008000L
#define SQL_FN_STR_LOCATE_2 0x00010000L
#define SQL_FN_STR_SOUNDEX 0x00020000L
#define SQL_FN_STR_SPACE 0x00040000L
#define SQL_FN_STR_BIT_LENGTH 0x00080000L
#define SQL_FN_STR_CHAR_LENGTH 0x00100000L
#define SQL_FN_STR_CHARACTER_LENGTH 0x00200000L
#define SQL_FN_STR_OCTET_LENGTH 0x00400000L
#define SQL_FN_STR_POSITION 0x00800000L
#define SQL_SSF_CONVERT 0x00000001L
#define SQL_SSF_LOWER 0x00000002L
#define SQL_SSF_UPPER 0x00000004L
#define SQL_SSF_SUBSTRING 0x00000008L
#define SQL_SSF_TRANSLATE 0x00000010L
#define SQL_SSF_TRIM_BOTH 0x00000020L
#define SQL_SSF_TRIM_LEADING 0x00000040L
#define SQL_SSF_TRIM_TRAILING 0x00000080L
#define SQL_FN_NUM_ABS 0x00000001L
#define SQL_FN_NUM_ACOS 0x00000002L
#define SQL_FN_NUM_ASIN 0x00000004L
#define SQL_FN_NUM_ATAN 0x00000008L
#define SQL_FN_NUM_ATAN2 0x00000010L
#define SQL_FN_NUM_CEILING 0x00000020L
#define SQL_FN_NUM_COS 0x00000040L
#define SQL_FN_NUM_COT 0x00000080L
#define SQL_FN_NUM_EXP 0x00000100L
#define SQL_FN_NUM_FLOOR 0x00000200L
#define SQL_FN_NUM_LOG 0x00000400L
#define SQL_FN_NUM_MOD 0x00000800L
#define SQL_FN_NUM_SIGN 0x00001000L
#define SQL_FN_NUM_SIN 0x00002000L
#define SQL_FN_NUM_SQRT 0x00004000L
#define SQL_FN_NUM_TAN 0x00008000L
#define SQL_FN_NUM_PI 0x00010000L
#define SQL_FN_NUM_RAND 0x00020000L
#define SQL_FN_NUM_DEGREES 0x00040000L
#define SQL_FN_NUM_LOG10 0x00080000L
#define SQL_FN_NUM_POWER 0x00100000L
#define SQL_FN_NUM_RADIANS 0x00200000L
#define SQL_FN_NUM_ROUND 0x00400000L
#define SQL_FN_NUM_TRUNCATE 0x00800000L
#define SQL_SNVF_BIT_LENGTH 0x00000001L
#define SQL_SNVF_CHAR_LENGTH 0x00000002L
#define SQL_SNVF_CHARACTER_LENGTH 0x00000004L
#define SQL_SNVF_EXTRACT 0x00000008L
#define SQL_SNVF_OCTET_LENGTH 0x00000010L
#define SQL_SNVF_POSITION 0x00000020L
#define SQL_FN_TD_NOW 0x00000001L
#define SQL_FN_TD_CURDATE 0x00000002L
#define SQL_FN_TD_DAYOFMONTH 0x00000004L
#define SQL_FN_TD_DAYOFWEEK 0x00000008L
#define SQL_FN_TD_DAYOFYEAR 0x00000010L
#define SQL_FN_TD_MONTH 0x00000020L
#define SQL_FN_TD_QUARTER 0x00000040L
#define SQL_FN_TD_WEEK 0x00000080L
#define SQL_FN_TD_YEAR 0x00000100L
#define SQL_FN_TD_CURTIME 0x00000200L
#define SQL_FN_TD_HOUR 0x00000400L
#define SQL_FN_TD_MINUTE 0x00000800L
#define SQL_FN_TD_SECOND 0x00001000L
#define SQL_FN_TD_TIMESTAMPADD 0x00002000L
#define SQL_FN_TD_TIMESTAMPDIFF 0x00004000L
#define SQL_FN_TD_DAYNAME 0x00008000L
#define SQL_FN_TD_MONTHNAME 0x00010000L
#define SQL_FN_TD_CURRENT_DATE 0x00020000L
#define SQL_FN_TD_CURRENT_TIME 0x00040000L
#define SQL_FN_TD_CURRENT_TIMESTAMP 0x00080000L
#define SQL_FN_TD_EXTRACT 0x00100000L
#define SQL_SDF_CURRENT_DATE 0x00000001L
#define SQL_SDF_CURRENT_TIME 0x00000002L
#define SQL_SDF_CURRENT_TIMESTAMP 0x00000004L
#define SQL_FN_SYS_USERNAME 0x00000001L
#define SQL_FN_SYS_DBNAME 0x00000002L
#define SQL_FN_SYS_IFNULL 0x00000004L
#define SQL_FN_TSI_FRAC_SECOND 0x00000001L
#define SQL_FN_TSI_SECOND 0x00000002L
#define SQL_FN_TSI_MINUTE 0x00000004L
#define SQL_FN_TSI_HOUR 0x00000008L
#define SQL_FN_TSI_DAY 0x00000010L
#define SQL_FN_TSI_WEEK 0x00000020L
#define SQL_FN_TSI_MONTH 0x00000040L
#define SQL_FN_TSI_QUARTER 0x00000080L
#define SQL_FN_TSI_YEAR 0x00000100L
#define SQL_CA1_NEXT 0x00000001L
#define SQL_CA1_ABSOLUTE 0x00000002L
#define SQL_CA1_RELATIVE 0x00000004L
#define SQL_CA1_BOOKMARK 0x00000008L
#define SQL_CA1_LOCK_NO_CHANGE 0x00000040L
#define SQL_CA1_LOCK_EXCLUSIVE 0x00000080L
#define SQL_CA1_LOCK_UNLOC 0x00000100L
#define SQL_CA1_POS_POSITION 0x00000200L
#define SQL_CA1_POS_UPDATE 0x00000400L
#define SQL_CA1_POS_DELETE 0x00000800L
#define SQL_CA1_POS_REFRESH 0x00001000L
#define SQL_CA1_POSITIONED_UPDATE 0x00002000L
#define SQL_CA1_POSITIONED_DELETE 0x00004000L
#define SQL_CA1_SELECT_FOR_UPDATE 0x00008000L
#define SQL_CA1_BULK_ADD 0x00010000L
#define SQL_CA1_BULK_UPDATE_BY_BOOKMARK 0x00020000L
#define SQL_CA1_BULK_DELETE_BY_BOOKMARK 0x00040000L
#define SQL_CA1_BULK_FETCH_BY_BOOKMARK 0x00080000L
#define SQL_CA2_READ_ONLY_CONCURRENCY 0x00000001L
#define SQL_CA2_LOCK_CONCURRENCY 0x00000002L
#define SQL_CA2_OPT_ROWVER_CONCURRENCY 0x00000004L
#define SQL_CA2_OPT_VALUES_CONCURRENCY 0x00000008L
#define SQL_CA2_SENSITIVITY_ADDITIONS 0x00000010L
#define SQL_CA2_SENSITIVITY_DELETIONS 0x00000020L
#define SQL_CA2_SENSITIVITY_UPDATES 0x00000040L
#define SQL_CA2_MAX_ROWS_SELECT 0x00000080L
#define SQL_CA2_MAX_ROWS_INSERT 0x00000100L
#define SQL_CA2_MAX_ROWS_DELETE 0x00000200L
#define SQL_CA2_MAX_ROWS_UPDATE 0x00000400L
#define SQL_CA2_MAX_ROWS_CATALOG 0x00000800L
#define SQL_CA2_MAX_ROWS_AFFECTS_ALL
#define SQL_CA2_CRC_EXACT 0x00001000L
#define SQL_CA2_CRC_APPROXIMATE 0x00002000L
#define SQL_CA2_SIMULATE_NON_UNIQUE 0x00004000L
#define SQL_CA2_SIMULATE_TRY_UNIQUE 0x00008000L
#define SQL_CA2_SIMULATE_UNIQUE 0x00010000L
#define SQL_OAC_NONE 0x0000
#define SQL_OAC_LEVEL1 0x0001
#define SQL_OAC_LEVEL2 0x0002
#define SQL_OSCC_NOT_COMPLIANT 0x0000
#define SQL_OSCC_COMPLIANT 0x0001
#define SQL_OSC_MINIMUM 0x0000
#define SQL_OSC_CORE 0x0001
#define SQL_OSC_EXTENDED 0x0002
#define SQL_CB_NULL 0x0000
#define SQL_CB_NON_NULL 0x0001
#define SQL_SO_FORWARD_ONLY 0x00000001L
#define SQL_SO_KEYSET_DRIVEN 0x00000002L
#define SQL_SO_DYNAMIC 0x00000004L
#define SQL_SO_MIXED 0x00000008L
#define SQL_SO_STATIC 0x00000010L
#define SQL_FD_FETCH_BOOKMARK 0x00000080L
#define SQL_CN_NONE 0x0000
#define SQL_CN_DIFFERENT 0x0001
#define SQL_CN_ANY 0x0002
#define SQL_NNC_NULL 0x0000
#define SQL_NNC_NON_NULL 0x0001
#define SQL_NC_START 0x0002
#define SQL_NC_END 0x0004
#define SQL_FILE_NOT_SUPPORTED 0x0000
#define SQL_FILE_TABLE 0x0001
#define SQL_FILE_QUALIFIER 0x0002
#define SQL_FILE_CATALOGSQL_FILE_QUALIFIER
#define SQL_GD_BLOCK 0x00000004L
#define SQL_GD_BOUND 0x00000008L
#define SQL_PS_POSITIONED_DELETE 0x00000001L
#define SQL_PS_POSITIONED_UPDATE 0x00000002L
#define SQL_PS_SELECT_FOR_UPDATE 0x00000004L
#define SQL_GB_NOT_SUPPORTED 0x0000
#define SQL_GB_GROUP_BY_EQUALS_SELECT 0x0001
#define SQL_GB_GROUP_BY_CONTAINS_SELECT 0x0002
#define SQL_GB_NO_RELATION 0x0003
#define SQL_GB_COLLATE 0x0004
#define SQL_OU_DML_STATEMENTS 0x00000001L
#define SQL_OU_PROCEDURE_INVOCATION 0x00000002L
#define SQL_OU_TABLE_DEFINITION 0x00000004L
#define SQL_OU_INDEX_DEFINITION 0x00000008L
#define SQL_OU_PRIVILEGE_DEFINITION 0x00000010L
#define SQL_SU_DML_STATEMENTSSQL_OU_DML_STATEMENTS
#define SQL_SU_PROCEDURE_INVOCATIONSQL_OU_PROCEDURE_INVOCATION
#define SQL_SU_TABLE_DEFINITIONSQL_OU_TABLE_DEFINITION
#define SQL_SU_INDEX_DEFINITIONSQL_OU_INDEX_DEFINITION
#define SQL_SU_PRIVILEGE_DEFINITIONSQL_OU_PRIVILEGE_DEFINITION
#define SQL_QU_DML_STATEMENTS 0x00000001L
#define SQL_QU_PROCEDURE_INVOCATION 0x00000002L
#define SQL_QU_TABLE_DEFINITION 0x00000004L
#define SQL_QU_INDEX_DEFINITION 0x00000008L
#define SQL_QU_PRIVILEGE_DEFINITION 0x00000010L
#define SQL_CU_DML_STATEMENTSSQL_QU_DML_STATEMENTS
#define SQL_CU_PROCEDURE_INVOCATIONSQL_QU_PROCEDURE_INVOCATION
#define SQL_CU_TABLE_DEFINITIONSQL_QU_TABLE_DEFINITION
#define SQL_CU_INDEX_DEFINITION QL_QU_INDEX_DEFINITION
#define SQL_CU_PRIVILEGE_DEFINITIONSQL_QU_PRIVILEGE_DEFINITION
#define SQL_SQ_COMPARISON 0x00000001L
#define SQL_SQ_EXISTS 0x00000002L
#define SQL_SQ_IN 0x00000004L
#define SQL_SQ_QUANTIFIED 0x00000008L
#define SQL_SQ_CORRELATED_SUBQUERIES 0x00000010L
#define SQL_U_UNION 0x00000001L
#define SQL_U_UNION_ALL 0x00000002L
#define SQL_BP_CLOSE 0x00000001L
#define SQL_BP_DELETE 0x00000002L
#define SQL_BP_DROP 0x00000004L
#define SQL_BP_TRANSACTION 0x00000008L
#define SQL_BP_UPDATE 0x00000010L
#define SQL_BP_OTHER_HSTMT 0x00000020L
#define SQL_BP_SCROLL 0x00000040L
#define SQL_SS_ADDITIONS 0x00000001L
#define SQL_SS_DELETIONS 0x00000002L
#define SQL_SS_UPDATES 0x00000004L
#define SQL_CV_CREATE_VIEW 0x00000001L
#define SQL_CV_CHECK_OPTION 0x00000002L
#define SQL_CV_CASCADED 0x00000004L
#define SQL_CV_LOCAL 0x00000008L
#define SQL_LCK_NO_CHANGE 0x00000001L
#define SQL_LCK_EXCLUSIVE 0x00000002L
#define SQL_LCK_UNLOCK 0x00000004L
#define SQL_POS_POSITION 0x00000001L
#define SQL_POS_REFRESH 0x00000002L
#define SQL_POS_UPDATE 0x00000004L
#define SQL_POS_DELETE 0x00000008L
#define SQL_POS_ADD 0x00000010L
#define SQL_QL_START 0x0001
#define SQL_QL_END 0x0002
#define SQL_AF_AVG 0x00000001L
#define SQL_AF_COUNT 0x00000002L
#define SQL_AF_MAX 0x00000004L
#define SQL_AF_MIN 0x00000008L
#define SQL_AF_SUM 0x00000010L
#define SQL_AF_DISTINCT 0x00000020L
#define SQL_AF_ALL 0x00000040L
#define SQL_SC_SQL92_ENTRY 0x00000001L
#define SQL_SC_FIPS127_2_TRANSITIONAL 0x00000002L
#define SQL_SC_SQL92_INTERMEDIATE 0x00000004L
#define SQL_SC_SQL92_FULL 0x00000008L
#define SQL_DL_SQL92_DATE 0x00000001L
#define SQL_DL_SQL92_TIME 0x00000002L
#define SQL_DL_SQL92_TIMESTAMP 0x00000004L
#define SQL_DL_SQL92_INTERVAL_YEAR 0x00000008L
#define SQL_DL_SQL92_INTERVAL_MONTH 0x00000010L
#define SQL_DL_SQL92_INTERVAL_DAY 0x00000020L
#define SQL_DL_SQL92_INTERVAL_HOUR 0x00000040L
#define SQL_DL_SQL92_INTERVAL_MINUTE 0x00000080L
#define SQL_DL_SQL92_INTERVAL_SECOND 0x00000100L
#define SQL_DL_SQL92_INTERVAL_YEAR_TO_MONTH 0x00000200L
#define SQL_DL_SQL92_INTERVAL_DAY_TO_HOUR 0x00000400L
#define SQL_DL_SQL92_INTERVAL_DAY_TO_MINUTE 0x00000800L
#define SQL_DL_SQL92_INTERVAL_DAY_TO_SECOND 0x00001000L
#define SQL_DL_SQL92_INTERVAL_HOUR_TO_MINUTE 0x00002000L
#define SQL_DL_SQL92_INTERVAL_HOUR_TO_SECOND 0x00004000L
#define SQL_DL_SQL92_INTERVAL_MINUTE_TO_SECOND 0x00008000L
#define SQL_CL_STARTSQL_QL_START
#define SQL_CL_ENDSQL_QL_END
#define SQL_BRC_PROCEDURES 0x0000001
#define SQL_BRC_EXPLICIT 0x0000002
#define SQL_BRC_ROLLED_UP 0x0000004
#define SQL_BS_SELECT_EXPLICIT 0x00000001L
#define SQL_BS_ROW_COUNT_EXPLICIT 0x00000002L
#define SQL_BS_SELECT_PROC 0x00000004L
#define SQL_BS_ROW_COUNT_PROC 0x00000008L
#define SQL_PARC_BATCH 1
#define SQL_PARC_NO_BATCH 2
#define SQL_PAS_BATCH 1
#define SQL_PAS_NO_BATCH 2
#define SQL_PAS_NO_SELECT 3
#define SQL_IK_NONE 0x00000000L
#define SQL_IK_ASC 0x00000001L
#define SQL_IK_DESC 0x00000002L
#define SQL_IK_ALL (SQL_IK_ASC | SQL_IK_DESC)
#define SQL_ISV_ASSERTIONS 0x00000001L
#define SQL_ISV_CHARACTER_SETS 0x00000002L
#define SQL_ISV_CHECK_CONSTRAINTS 0x00000004L
#define SQL_ISV_COLLATIONS 0x00000008L
#define SQL_ISV_COLUMN_DOMAIN_USAGE 0x00000010L
#define SQL_ISV_COLUMN_PRIVILEGES 0x00000020L
#define SQL_ISV_COLUMNS 0x00000040L
#define SQL_ISV_CONSTRAINT_COLUMN_USAGE 0x00000080L
#define SQL_ISV_CONSTRAINT_TABLE_USAGE 0x00000100L
#define SQL_ISV_DOMAIN_CONSTRAINTS 0x00000200L
#define SQL_ISV_DOMAINS 0x00000400L
#define SQL_ISV_KEY_COLUMN_USAGE 0x00000800L
#define SQL_ISV_REFERENTIAL_CONSTRAINTS 0x00001000L
#define SQL_ISV_SCHEMATA 0x00002000L
#define SQL_ISV_SQL_LANGUAGES 0x00004000L
#define SQL_ISV_TABLE_CONSTRAINTS 0x00008000L
#define SQL_ISV_TABLE_PRIVILEGES 0x00010000L
#define SQL_ISV_TABLES 0x00020000L
#define SQL_ISV_TRANSLATIONS 0x00040000L
#define SQL_ISV_USAGE_PRIVILEGES 0x00080000L
#define SQL_ISV_VIEW_COLUMN_USAGE 0x00100000L
#define SQL_ISV_VIEW_TABLE_USAGE 0x00200000L
#define SQL_ISV_VIEWS 0x00400000L
#define SQL_AM_NONE 0
#define SQL_AM_CONNECTION 1
#define SQL_AM_STATEMENT 2
#define SQL_AD_CONSTRAINT_NAME_DEFINITION 0x00000001L
#define SQL_AD_ADD_DOMAIN_CONSTRAINT 0x00000002L
#define SQL_AD_DROP_DOMAIN_CONSTRAINT 0x00000004L
#define SQL_AD_ADD_DOMAIN_DEFAULT 0x00000008L
#define SQL_AD_DROP_DOMAIN_DEFAULT 0x00000010L
#define SQL_AD_ADD_CONSTRAINT_INITIALLY_DEFERRED 0x00000020L
#define SQL_AD_ADD_CONSTRAINT_INITIALLY_IMMEDIATE 0x00000040L
#define SQL_AD_ADD_CONSTRAINT_DEFERRABLE 0x00000080L
#define SQL_AD_ADD_CONSTRAINT_NON_DEFERRABLE 0x00000100L
#define SQL_CS_CREATE_SCHEMA 0x00000001L
#define SQL_CS_AUTHORIZATION 0x00000002L
#define SQL_CS_DEFAULT_CHARACTER_SET 0x00000004L
#define SQL_CTR_CREATE_TRANSLATION 0x00000001L
#define SQL_CA_CREATE_ASSERTION 0x00000001L
#define SQL_CA_CONSTRAINT_INITIALLY_DEFERRED 0x00000010L
#define SQL_CA_CONSTRAINT_INITIALLY_IMMEDIATE 0x00000020L
#define SQL_CA_CONSTRAINT_DEFERRABLE 0x00000040L
#define SQL_CA_CONSTRAINT_NON_DEFERRABLE 0x00000080L
#define SQL_CCS_CREATE_CHARACTER_SET 0x00000001L
#define SQL_CCS_COLLATE_CLAUSE 0x00000002L
#define SQL_CCS_LIMITED_COLLATION 0x00000004L
#define SQL_CCOL_CREATE_COLLATION 0x00000001L
#define SQL_CDO_CREATE_DOMAIN 0x00000001L
#define SQL_CDO_DEFAULT 0x00000002L
#define SQL_CDO_CONSTRAINT 0x00000004L
#define SQL_CDO_COLLATION 0x00000008L
#define SQL_CDO_CONSTRAINT_NAME_DEFINITION 0x00000010L
#define SQL_CDO_CONSTRAINT_INITIALLY_DEFERRED 0x00000020L
#define SQL_CDO_CONSTRAINT_INITIALLY_IMMEDIATE 0x00000040L
#define SQL_CDO_CONSTRAINT_DEFERRABLE 0x00000080L
#define SQL_CDO_CONSTRAINT_NON_DEFERRABLE 0x00000100L
#define SQL_CT_CREATE_TABLE 0x00000001L
#define SQL_CT_COMMIT_PRESERVE 0x00000002L
#define SQL_CT_COMMIT_DELETE 0x00000004L
#define SQL_CT_GLOBAL_TEMPORARY 0x00000008L
#define SQL_CT_LOCAL_TEMPORARY 0x00000010L
#define SQL_CT_CONSTRAINT_INITIALLY_DEFERRED 0x00000020L
#define SQL_CT_CONSTRAINT_INITIALLY_IMMEDIATE 0x00000040L
#define SQL_CT_CONSTRAINT_DEFERRABLE 0x00000080L
#define SQL_CT_CONSTRAINT_NON_DEFERRABLE 0x00000100L
#define SQL_CT_COLUMN_CONSTRAINT 0x00000200L
#define SQL_CT_COLUMN_DEFAULT 0x00000400L
#define SQL_CT_COLUMN_COLLATION 0x00000800L
#define SQL_CT_TABLE_CONSTRAINT 0x00001000L
#define SQL_CT_CONSTRAINT_NAME_DEFINITION 0x00002000L
#define SQL_DI_CREATE_INDEX 0x00000001L
#define SQL_DI_DROP_INDEX 0x00000002L
#define SQL_DC_DROP_COLLATION 0x00000001L
#define SQL_DD_DROP_DOMAIN 0x00000001L
#define SQL_DD_RESTRICT 0x00000002L
#define SQL_DD_CASCADE 0x00000004L
#define SQL_DS_DROP_SCHEMA 0x00000001L
#define SQL_DS_RESTRICT 0x00000002L
#define SQL_DS_CASCADE 0x00000004L
#define SQL_DCS_DROP_CHARACTER_SET 0x00000001L
#define SQL_DA_DROP_ASSERTION 0x00000001L
#define SQL_DT_DROP_TABLE 0x00000001L
#define SQL_DT_RESTRICT 0x00000002L
#define SQL_DT_CASCADE 0x00000004L
#define SQL_DTR_DROP_TRANSLATION 0x00000001L
#define SQL_DV_DROP_VIEW 0x00000001L
#define SQL_DV_RESTRICT 0x00000002L
#define SQL_DV_CASCADE 0x00000004L
#define SQL_IS_INSERT_LITERALS 0x00000001L
#define SQL_IS_INSERT_SEARCHED 0x00000002L
#define SQL_IS_SELECT_INTO 0x00000004L
#define SQL_OIC_CORE 1
#define SQL_OIC_LEVEL1 2
#define SQL_OIC_LEVEL2 3
#define SQL_SFKD_CASCADE 0x00000001L
#define SQL_SFKD_NO_ACTION 0x00000002L
#define SQL_SFKD_SET_DEFAULT 0x00000004L
#define SQL_SFKD_SET_NULL 0x00000008L
#define SQL_SFKU_CASCADE 0x00000001L
#define SQL_SFKU_NO_ACTION 0x00000002L
#define SQL_SFKU_SET_DEFAULT 0x00000004L
#define SQL_SFKU_SET_NULL 0x00000008L
#define SQL_SG_USAGE_ON_DOMAIN 0x00000001L
#define SQL_SG_USAGE_ON_CHARACTER_SET 0x00000002L
#define SQL_SG_USAGE_ON_COLLATION 0x00000004L
#define SQL_SG_USAGE_ON_TRANSLATION 0x00000008L
#define SQL_SG_WITH_GRANT_OPTION 0x00000010L
#define SQL_SG_DELETE_TABLE 0x00000020L
#define SQL_SG_INSERT_TABLE 0x00000040L
#define SQL_SG_INSERT_COLUMN 0x00000080L
#define SQL_SG_REFERENCES_TABLE 0x00000100L
#define SQL_SG_REFERENCES_COLUMN 0x00000200L
#define SQL_SG_SELECT_TABLE 0x00000400L
#define SQL_SG_UPDATE_TABLE 0x00000800L
#define SQL_SG_UPDATE_COLUMN 0x00001000L
#define SQL_SP_EXISTS 0x00000001L
#define SQL_SP_ISNOTNULL 0x00000002L
#define SQL_SP_ISNULL 0x00000004L
#define SQL_SP_MATCH_FULL 0x00000008L
#define SQL_SP_MATCH_PARTIAL 0x00000010L
#define SQL_SP_MATCH_UNIQUE_FULL 0x00000020L
#define SQL_SP_MATCH_UNIQUE_PARTIAL 0x00000040L
#define SQL_SP_OVERLAPS 0x00000080L
#define SQL_SP_UNIQUE 0x00000100L
#define SQL_SP_LIKE 0x00000200L
#define SQL_SP_IN 0x00000400L
#define SQL_SP_BETWEEN 0x00000800L
#define SQL_SP_COMPARISON 0x00001000L
#define SQL_SP_QUANTIFIED_COMPARISON 0x00002000L
#define SQL_SRJO_CORRESPONDING_CLAUSE 0x00000001L
#define SQL_SRJO_CROSS_JOIN 0x00000002L
#define SQL_SRJO_EXCEPT_JOIN 0x00000004L
#define SQL_SRJO_FULL_OUTER_JOIN 0x00000008L
#define SQL_SRJO_INNER_JOIN 0x00000010L
#define SQL_SRJO_INTERSECT_JOIN 0x00000020L
#define SQL_SRJO_LEFT_OUTER_JOIN 0x00000040L
#define SQL_SRJO_NATURAL_JOIN 0x00000080L
#define SQL_SRJO_RIGHT_OUTER_JOIN 0x00000100L
#define SQL_SRJO_UNION_JOIN 0x00000200L
#define SQL_SR_USAGE_ON_DOMAIN 0x00000001L
#define SQL_SR_USAGE_ON_CHARACTER_SET 0x00000002L
#define SQL_SR_USAGE_ON_COLLATION 0x00000004L
#define SQL_SR_USAGE_ON_TRANSLATION 0x00000008L
#define SQL_SR_GRANT_OPTION_FOR 0x00000010L
#define SQL_SR_CASCADE 0x00000020L
#define SQL_SR_RESTRICT 0x00000040L
#define SQL_SR_DELETE_TABLE 0x00000080L
#define SQL_SR_INSERT_TABLE 0x00000100L
#define SQL_SR_INSERT_COLUMN 0x00000200L
#define SQL_SR_REFERENCES_TABLE 0x00000400L
#define SQL_SR_REFERENCES_COLUM 0x00000800L
#define SQL_SR_SELECT_TABLE 0x00001000L
#define SQL_SR_UPDATE_TABLE 0x00002000L
#define SQL_SR_UPDATE_COLUMN 0x00004000L
#define SQL_SRVC_VALUE_EXPRESSION 0x00000001L
#define SQL_SRVC_NULL 0x00000002L
#define SQL_SRVC_DEFAULT 0x00000004L
#define SQL_SRVC_ROW_SUBQUERY 0x00000008L
#define SQL_SVE_CASE 0x00000001L
#define SQL_SVE_CAST 0x00000002L
#define SQL_SVE_COALESCE 0x00000004L
#define SQL_SVE_NULLIF 0x00000008L
#define SQL_SCC_XOPEN_CLI_VERSION1 0x00000001L
#define SQL_SCC_ISO92_CLI 0x00000002L
#define SQL_US_UNIONSQL_U_UNION
#define SQL_US_UNION_ALLSQL_U_UNION_ALL
#define SQL_DTC_ENLIST_EXPENSIVE 0x00000001L
#define SQL_DTC_UNENLIST_EXPENSIVE 0x00000002L
#define SQL_FETCH_FIRST_USER 31
#define SQL_FETCH_FIRST_SYSTEM 32
#define SQL_ENTIRE_ROWSET 0
#define SQL_POSITION 0
#define SQL_REFRESH 1
#define SQL_UPDATE 2
#define SQL_DELETE 3
#define SQL_ADD 4
#define SQL_SETPOS_MAX_OPTION_VALUESQL_ADD
#define SQL_UPDATE_BY_BOOKMARK 5
#define SQL_DELETE_BY_BOOKMARK 6
#define SQL_FETCH_BY_BOOKMARK 7
#define SQL_LOCK_NO_CHANGE 0 /* 1.0 FALSE */
#define SQL_LOCK_EXCLUSIVE 1 /* 1.0 TRUE */
#define SQL_LOCK_UNLOCK 2
#define SQL_SETPOS_MAX_LOCK_VALUESQL_LOCK_UNLOCK
#define SQL_POSITION_TO(hstmt, irow) SQLSetPos (hstmt, irow, SQL_POSITION, SQL_LOCK_NO_CHANGE)
#define SQL_LOCK_RECORD(hstmt, irow, fLock) SQLSetPos (hstmt, irow, SQL_POSITION, fLock)
#define SQL_REFRESH_RECORD(hstmt, irow, fLock) SQLSetPos (hstmt, irow, SQL_REFRESH, fLock)
#define SQL_UPDATE_RECORD(hstmt, irow) SQLSetPos (hstmt, irow, SQL_UPDATE, SQL_LOCK_NO_CHANGE)
#define SQL_DELETE_RECORD(hstmt, irow) SQLSetPos (hstmt, irow, SQL_DELETE, SQL_LOCK_NO_CHANGE)
#define SQL_ADD_RECORD(hstmt, irow) SQLSetPos (hstmt, irow, SQL_ADD, SQL_LOCK_NO_CHANGE)
#define SQL_BEST_ROWID 1
#define SQL_ROWVER 2
#define SQL_PC_NOT_PSEUDO 1
#define SQL_QUICK 0
#define SQL_ENSURE 1
#define SQL_TABLE_STAT 0
#define SQL_ALL_CATALOGS "%"
#define SQL_ALL_SCHEMAS "%"
#define SQL_ALL_TABLE_TYPES "%"
#define SQL_DRIVER_NOPROMPT 0
#define SQL_DRIVER_COMPLETE 1
#define SQL_DRIVER_PROMPT 2
#define SQL_DRIVER_COMPLETE_REQUIRED 3
#define SQL_FETCH_BOOKMARK 8
#define SQL_ROW_SUCCESS 0
#define SQL_ROW_DELETED 1
#define SQL_ROW_UPDATED 2
#define SQL_ROW_NOROW 3
#define SQL_ROW_ADDED 4
#define SQL_ROW_ERROR 5
#define SQL_ROW_SUCCESS_WITH_INFO 6
#define SQL_ROW_PROCEED 0
#define SQL_ROW_IGNORE 1
#define SQL_PARAM_SUCCESS 0
#define SQL_PARAM_SUCCESS_WITH_INFO 6
#define SQL_PARAM_ERROR 5
#define SQL_PARAM_UNUSED 7
#define SQL_PARAM_DIAG_UNAVAILABLE 1
#define SQL_PARAM_PROCEED 0
#define SQL_PARAM_IGNORE 1
#define SQL_CASCADE 0
#define SQL_RESTRICT 1
#define SQL_SET_NULL 2
#define SQL_NO_ACTION 3
#define SQL_SET_DEFAULT 4
#define SQL_INITIALLY_DEFERRED 5
#define SQL_INITIALLY_IMMEDIATE 6
#define SQL_NOT_DEFERRABLE 7
#define SQL_PARAM_TYPE_UNKNOWN 0
#define SQL_PARAM_INPUT 1
#define SQL_PARAM_INPUT_OUTPUT 2
#define SQL_RESULT_COL 3
#define SQL_PARAM_OUTPUT 4
#define SQL_RETURN_VALUE 5
#define SQL_PT_UNKNOWN 0
#define SQL_PT_PROCEDURE 1
#define SQL_PT_FUNCTION 2

Functions

SQLRETURN SQLDriverConnect (SQLHDBC ConnectionHandle, SQLHWND WindowHandle, const SQLCHAR *InConnectionString, SQLSMALLINT StringLength1, SQLCHAR *OutConnectionString, SQLSMALLINT BufferLength, SQLSMALLINT *StringLength2Ptr, SQLUSMALLINT DriverCompletion)
Driver Connect. More...
SQLRETURN SQLBindParameter (SQLHSTMT StatementHandle, SQLUSMALLINT ParameterNumber, SQLSMALLINT InputOutputType, SQLSMALLINT ValueType, SQLSMALLINT ParameterType, SQLUINTEGER ColumnSize, SQLSMALLINT DecimalDigits, SQLPOINTER ParameterValuePtr, SQLINTEGER BufferLength, SQLINTEGER *StrLen_or_IndPtr)
Bind an application variable to the parameter. More...
SQLRETURN SQLBulkOperations (SQLHSTMT StatementHandle, SQLSMALLINT Operation)
Perform bulk update opertations. More...
SQLRETURN SQLColumnPrivileges (SQLHSTMT hstmt, SQLCHAR *szCatalogName, SQLSMALLINT cbCatalogName, SQLCHAR *szSchemaName, SQLSMALLINT cbSchemaName, SQLCHAR *szTableName, SQLSMALLINT cbTableName, SQLCHAR *szColumnName, SQLSMALLINT cbColumnName)
Return a list of column privileges for a table. More...
SQLRETURN SQLDescribeParam (SQLHSTMT StatementHandle, SQLUSMALLINT ParameterNumber, SQLSMALLINT *DataTypePtr, SQLUINTEGER *ParameterSizePtr, SQLSMALLINT *DecimalDigitsPtr, SQLSMALLINT *NullablePtr)
Retrieve the detailed description of a parameter. More...
SQLRETURN SQLForeignKeys (SQLHSTMT StatementHandle, SQLCHAR *PKCatalogName, SQLSMALLINT NameLength1, SQLCHAR *PKSchemaName, SQLSMALLINT NameLength2, SQLCHAR *PKTableName, SQLSMALLINT NameLength3, SQLCHAR *FKCatalogName, SQLSMALLINT NameLength4, SQLCHAR *FKSchemaName, SQLSMALLINT NameLength5, SQLCHAR *FKTableName, SQLSMALLINT NameLength6)
Return a list of foreign keys in a table. More...
SQLRETURN SQLMoreResults (SQLHSTMT StatementHandle)
Check whether more results are avaiable for an SQL statement. More...
SQLRETURN SQLNativeSql (SQLHDBC ConnectionHandle, const SQLCHAR *InStatementText, SQLINTEGER TextLength1, SQLCHAR *OutStatementText, SQLINTEGER BufferLength, SQLINTEGER *TextLength2Ptr)
Return an SQL statement as modified by the SQL API driver. More...
SQLRETURN SQLNumParams (SQLHSTMT StatementHandle, SQLSMALLINT *ParameterCountPtr)
Return the number of parameters in an SQL statement. More...
SQLRETURN SQLPrimaryKeys (SQLHSTMT StatementHandle, SQLCHAR *CatalogName, SQLSMALLINT NameLength1, SQLCHAR *SchemaName, SQLSMALLINT NameLength2, SQLCHAR *TableName, SQLSMALLINT NameLength3)
Return a list of primary keys in a table. More...
SQLRETURN SQLProcedureColumns (SQLHSTMT StatementHandle, SQLCHAR *CatalogName, SQLSMALLINT NameLength1, SQLCHAR *SchemaName, SQLSMALLINT NameLength2, SQLCHAR *ProcName, SQLSMALLINT NameLength3, SQLCHAR *ColumnName, SQLSMALLINT NameLength4)
Return a list of parameters and columns for stored routines. More...
SQLRETURN SQLProcedures (SQLHSTMT StatementHandle, SQLCHAR *CatalogName, SQLSMALLINT NameLength1, SQLCHAR *SchemaName, SQLSMALLINT NameLength2, SQLCHAR *ProcName, SQLSMALLINT NameLength3)
Return the list of stored routine names registered with the data source. More...
SQLRETURN SQLSetPos (SQLHSTMT StatementHandle, SQLUSMALLINT RowNumber, SQLUSMALLINT Operation, SQLUSMALLINT LockType)
Set the cursor position in a result set. More...
SQLRETURN SQLTablePrivileges (SQLHSTMT hstmt, SQLCHAR *szCatalogName, SQLSMALLINT cbCatalogName, SQLCHAR *szSchemaName, SQLSMALLINT cbSchemaName, SQLCHAR *szTableName, SQLSMALLINT cbTableName)
Return a list of table privileges for the data source. More...

Detailed Description

Header for the Microsoft SQL Extensions.

Macro Definition Documentation

SQL_AA_FALSE

#define SQL_AA_FALSE 0L /* the application is a Unicode app */

SQL_AA_TRUE

#define SQL_AA_TRUE 1L /* the application is an ANSI app */

SQL_ACCESS_MODE

#define SQL_ACCESS_MODE 101

SQL_ACTIVE_CONNECTIONS

#define SQL_ACTIVE_CONNECTIONS 0 /* MAX_DRIVER_CONNECTIONS */

SQL_ACTIVE_ENVIRONMENTS

#define SQL_ACTIVE_ENVIRONMENTS 116

SQL_ACTIVE_STATEMENTS

#define SQL_ACTIVE_STATEMENTS 1 /* MAX_CONCURRENT_ACTIVITIES */

SQL_AD_ADD_CONSTRAINT_DEFERRABLE

#define SQL_AD_ADD_CONSTRAINT_DEFERRABLE 0x00000080L

SQL_AD_ADD_CONSTRAINT_INITIALLY_DEFERRED

#define SQL_AD_ADD_CONSTRAINT_INITIALLY_DEFERRED 0x00000020L

SQL_AD_ADD_CONSTRAINT_INITIALLY_IMMEDIATE

#define SQL_AD_ADD_CONSTRAINT_INITIALLY_IMMEDIATE 0x00000040L

SQL_AD_ADD_CONSTRAINT_NON_DEFERRABLE

#define SQL_AD_ADD_CONSTRAINT_NON_DEFERRABLE 0x00000100L

SQL_AD_ADD_DOMAIN_CONSTRAINT

#define SQL_AD_ADD_DOMAIN_CONSTRAINT 0x00000002L

SQL_AD_ADD_DOMAIN_DEFAULT

#define SQL_AD_ADD_DOMAIN_DEFAULT 0x00000008L

SQL_AD_CONSTRAINT_NAME_DEFINITION

#define SQL_AD_CONSTRAINT_NAME_DEFINITION 0x00000001L

SQL_AD_DROP_DOMAIN_CONSTRAINT

#define SQL_AD_DROP_DOMAIN_CONSTRAINT 0x00000004L

SQL_AD_DROP_DOMAIN_DEFAULT

#define SQL_AD_DROP_DOMAIN_DEFAULT 0x00000010L

SQL_ADD

#define SQL_ADD 4

SQL_ADD_RECORD

#define SQL_ADD_RECORD ( hstmt,
irow
) SQLSetPos (hstmt, irow, SQL_ADD, SQL_LOCK_NO_CHANGE)

SQL_AF_ALL

#define SQL_AF_ALL 0x00000040L

SQL_AF_AVG

#define SQL_AF_AVG 0x00000001L

SQL_AF_COUNT

#define SQL_AF_COUNT 0x00000002L

SQL_AF_DISTINCT

#define SQL_AF_DISTINCT 0x00000020L

SQL_AF_MAX

#define SQL_AF_MAX 0x00000004L

SQL_AF_MIN

#define SQL_AF_MIN 0x00000008L

SQL_AF_SUM

#define SQL_AF_SUM 0x00000010L

SQL_AGGREGATE_FUNCTIONS

#define SQL_AGGREGATE_FUNCTIONS 169

SQL_ALL_CATALOGS

#define SQL_ALL_CATALOGS "%"

SQL_ALL_EXCEPT_LIKE

#define SQL_ALL_EXCEPT_LIKE 2

SQL_ALL_SCHEMAS

#define SQL_ALL_SCHEMAS "%"

SQL_ALL_TABLE_TYPES

#define SQL_ALL_TABLE_TYPES "%"

SQL_ALTER_DOMAIN

#define SQL_ALTER_DOMAIN 117

SQL_AM_CONNECTION

#define SQL_AM_CONNECTION 1

SQL_AM_NONE

#define SQL_AM_NONE 0

SQL_AM_STATEMENT

#define SQL_AM_STATEMENT 2

SQL_API_ALL_FUNCTIONS

#define SQL_API_ALL_FUNCTIONS 0

SQL_API_LOADBYORDINAL

#define SQL_API_LOADBYORDINAL 199

SQL_API_ODBC3_ALL_FUNCTIONS

#define SQL_API_ODBC3_ALL_FUNCTIONS 999

SQL_API_ODBC3_ALL_FUNCTIONS_SIZE

#define SQL_API_ODBC3_ALL_FUNCTIONS_SIZE 250 /* array of 250 words */

SQL_API_SQLALLOCHANDLESTD

#define SQL_API_SQLALLOCHANDLESTD 73

SQL_API_SQLBINDPARAMETER

#define SQL_API_SQLBINDPARAMETER 72

SQL_API_SQLBROWSECONNECT

#define SQL_API_SQLBROWSECONNECT 55

SQL_API_SQLBULKOPERATIONS

#define SQL_API_SQLBULKOPERATIONS 24

SQL_API_SQLCOLATTRIBUTES

#define SQL_API_SQLCOLATTRIBUTES 6

SQL_API_SQLCOLUMNPRIVILEGES

#define SQL_API_SQLCOLUMNPRIVILEGES 56

SQL_API_SQLDESCRIBEPARAM

#define SQL_API_SQLDESCRIBEPARAM 58

SQL_API_SQLDRIVERCONNECT

#define SQL_API_SQLDRIVERCONNECT 41

SQL_API_SQLDRIVERS

#define SQL_API_SQLDRIVERS 71

SQL_API_SQLEXTENDEDFETCH

#define SQL_API_SQLEXTENDEDFETCH 59

SQL_API_SQLFOREIGNKEYS

#define SQL_API_SQLFOREIGNKEYS 60

SQL_API_SQLMORERESULTS

#define SQL_API_SQLMORERESULTS 61

SQL_API_SQLNATIVESQL

#define SQL_API_SQLNATIVESQL 62

SQL_API_SQLNUMPARAMS

#define SQL_API_SQLNUMPARAMS 63

SQL_API_SQLPARAMOPTIONS

#define SQL_API_SQLPARAMOPTIONS 64

SQL_API_SQLPRIMARYKEYS

#define SQL_API_SQLPRIMARYKEYS 65

SQL_API_SQLPROCEDURECOLUMNS

#define SQL_API_SQLPROCEDURECOLUMNS 66

SQL_API_SQLPROCEDURES

#define SQL_API_SQLPROCEDURES 67

SQL_API_SQLSETPOS

#define SQL_API_SQLSETPOS 68

SQL_API_SQLSETSCROLLOPTIONS

#define SQL_API_SQLSETSCROLLOPTIONS 69

SQL_API_SQLTABLEPRIVILEGES

#define SQL_API_SQLTABLEPRIVILEGES 70

SQL_ASYNC_ENABLE

#define SQL_ASYNC_ENABLE 4

SQL_ASYNC_ENABLE_DEFAULT

#define SQL_ASYNC_ENABLE_DEFAULT SQL_ASYNC_ENABLE_OFF

SQL_ASYNC_ENABLE_OFF

#define SQL_ASYNC_ENABLE_OFF 0

SQL_ASYNC_ENABLE_ON

#define SQL_ASYNC_ENABLE_ON 1

SQL_ASYNC_MODE

#define SQL_ASYNC_MODE 10021

SQL_AT_ADD_COLUMN_COLLATION

#define SQL_AT_ADD_COLUMN_COLLATION 0x00000080L

SQL_AT_ADD_COLUMN_DEFAULT

#define SQL_AT_ADD_COLUMN_DEFAULT 0x00000040L

SQL_AT_ADD_COLUMN_SINGLE

#define SQL_AT_ADD_COLUMN_SINGLE 0x00000020L

SQL_AT_ADD_TABLE_CONSTRAINT

#define SQL_AT_ADD_TABLE_CONSTRAINT 0x00001000L

SQL_AT_CONSTRAINT_DEFERRABLE

#define SQL_AT_CONSTRAINT_DEFERRABLE 0x00040000L

SQL_AT_CONSTRAINT_INITIALLY_DEFERRED

#define SQL_AT_CONSTRAINT_INITIALLY_DEFERRED 0x00010000L

SQL_AT_CONSTRAINT_INITIALLY_IMMEDIATE

#define SQL_AT_CONSTRAINT_INITIALLY_IMMEDIATE 0x00020000L

SQL_AT_CONSTRAINT_NAME_DEFINITION

#define SQL_AT_CONSTRAINT_NAME_DEFINITION 0x00008000L

SQL_AT_CONSTRAINT_NON_DEFERRABLE

#define SQL_AT_CONSTRAINT_NON_DEFERRABLE 0x00080000L

SQL_AT_DROP_COLUMN_CASCADE

#define SQL_AT_DROP_COLUMN_CASCADE 0x00000400L

SQL_AT_DROP_COLUMN_DEFAULT

#define SQL_AT_DROP_COLUMN_DEFAULT 0x00000200L

SQL_AT_DROP_COLUMN_RESTRICT

#define SQL_AT_DROP_COLUMN_RESTRICT 0x00000800L

SQL_AT_DROP_TABLE_CONSTRAINT_CASCADE

#define SQL_AT_DROP_TABLE_CONSTRAINT_CASCADE 0x00002000L

SQL_AT_DROP_TABLE_CONSTRAINT_RESTRICT

#define SQL_AT_DROP_TABLE_CONSTRAINT_RESTRICT 0x00004000L

SQL_AT_SET_COLUMN_DEFAULT

#define SQL_AT_SET_COLUMN_DEFAULT 0x00000100L

SQL_ATTR_ACCESS_MODE

#define SQL_ATTR_ACCESS_MODE SQL_ACCESS_MODE

SQL_ATTR_ANSI_APP

#define SQL_ATTR_ANSI_APP 115

SQL_ATTR_ASYNC_ENABLE

#define SQL_ATTR_ASYNC_ENABLE 4

SQL_ATTR_AUTOCOMMIT

#define SQL_ATTR_AUTOCOMMIT SQL_AUTOCOMMIT

SQL_ATTR_CONCURRENCY

#define SQL_ATTR_CONCURRENCY SQL_CONCURRENCY

SQL_ATTR_CONNECTION_DEAD

#define SQL_ATTR_CONNECTION_DEAD 1209

SQL_ATTR_CONNECTION_POOLING

#define SQL_ATTR_CONNECTION_POOLING 201

SQL_ATTR_CONNECTION_TIMEOUT

#define SQL_ATTR_CONNECTION_TIMEOUT 113

SQL_ATTR_CP_MATCH

#define SQL_ATTR_CP_MATCH 202

SQL_ATTR_CURRENT_CATALOG

#define SQL_ATTR_CURRENT_CATALOG SQL_CURRENT_QUALIFIER

SQL_ATTR_CURSOR_TYPE

#define SQL_ATTR_CURSOR_TYPE SQL_CURSOR_TYPE

SQL_ATTR_DISCONNECT_BEHAVIOR

#define SQL_ATTR_DISCONNECT_BEHAVIOR 114

SQL_ATTR_ENABLE_AUTO_IPD

#define SQL_ATTR_ENABLE_AUTO_IPD 15

SQL_ATTR_ENLIST_IN_DTC

#define SQL_ATTR_ENLIST_IN_DTC 1207

SQL_ATTR_ENLIST_IN_XA

#define SQL_ATTR_ENLIST_IN_XA 1208

SQL_ATTR_FETCH_BOOKMARK_PTR

#define SQL_ATTR_FETCH_BOOKMARK_PTR 16

SQL_ATTR_KEYSET_SIZE

#define SQL_ATTR_KEYSET_SIZE SQL_KEYSET_SIZE

SQL_ATTR_LOGIN_TIMEOUT

#define SQL_ATTR_LOGIN_TIMEOUT SQL_LOGIN_TIMEOUT

SQL_ATTR_MAX_LENGTH

#define SQL_ATTR_MAX_LENGTH SQL_MAX_LENGTH

SQL_ATTR_MAX_ROWS

#define SQL_ATTR_MAX_ROWS SQL_MAX_ROWS

SQL_ATTR_NOSCAN

#define SQL_ATTR_NOSCAN SQL_NOSCAN

SQL_ATTR_ODBC_CURSORS

#define SQL_ATTR_ODBC_CURSORS SQL_ODBC_CURSORS

SQL_ATTR_ODBC_VERSION

#define SQL_ATTR_ODBC_VERSION 200

SQL_ATTR_PACKET_SIZE

#define SQL_ATTR_PACKET_SIZE SQL_PACKET_SIZE

SQL_ATTR_PARAM_BIND_OFFSET_PTR

#define SQL_ATTR_PARAM_BIND_OFFSET_PTR 17

SQL_ATTR_PARAM_BIND_TYPE

#define SQL_ATTR_PARAM_BIND_TYPE 18

SQL_ATTR_PARAM_OPERATION_PTR

#define SQL_ATTR_PARAM_OPERATION_PTR 19

SQL_ATTR_PARAM_STATUS_PTR

#define SQL_ATTR_PARAM_STATUS_PTR 20

SQL_ATTR_PARAMS_PROCESSED_PTR

#define SQL_ATTR_PARAMS_PROCESSED_PTR 21

SQL_ATTR_PARAMSET_SIZE

#define SQL_ATTR_PARAMSET_SIZE 22

SQL_ATTR_QUERY_TIMEOUT

#define SQL_ATTR_QUERY_TIMEOUT SQL_QUERY_TIMEOUT

SQL_ATTR_QUIET_MODE

#define SQL_ATTR_QUIET_MODE SQL_QUIET_MODE

SQL_ATTR_READONLY

#define SQL_ATTR_READONLY 0

SQL_ATTR_READWRITE_UNKNOWN

#define SQL_ATTR_READWRITE_UNKNOWN 2

SQL_ATTR_RETRIEVE_DATA

#define SQL_ATTR_RETRIEVE_DATA SQL_RETRIEVE_DATA

SQL_ATTR_ROW_ARRAY_SIZE

#define SQL_ATTR_ROW_ARRAY_SIZE 27

SQL_ATTR_ROW_BIND_OFFSET_PTR

#define SQL_ATTR_ROW_BIND_OFFSET_PTR 23

SQL_ATTR_ROW_BIND_TYPE

#define SQL_ATTR_ROW_BIND_TYPE SQL_BIND_TYPE

SQL_ATTR_ROW_NUMBER

#define SQL_ATTR_ROW_NUMBER SQL_ROW_NUMBER

SQL_ATTR_ROW_OPERATION_PTR

#define SQL_ATTR_ROW_OPERATION_PTR 24

SQL_ATTR_ROW_STATUS_PTR

#define SQL_ATTR_ROW_STATUS_PTR 25

SQL_ATTR_ROWS_FETCHED_PTR

#define SQL_ATTR_ROWS_FETCHED_PTR 26

SQL_ATTR_SIMULATE_CURSOR

#define SQL_ATTR_SIMULATE_CURSOR SQL_SIMULATE_CURSOR

SQL_ATTR_TRACE

#define SQL_ATTR_TRACE SQL_OPT_TRACE

SQL_ATTR_TRACEFILE

#define SQL_ATTR_TRACEFILE SQL_OPT_TRACEFILE

SQL_ATTR_TRANSLATE_LIB

#define SQL_ATTR_TRANSLATE_LIB SQL_TRANSLATE_DLL

SQL_ATTR_TRANSLATE_OPTION

#define SQL_ATTR_TRANSLATE_OPTION SQL_TRANSLATE_OPTION

SQL_ATTR_TXN_ISOLATION

#define SQL_ATTR_TXN_ISOLATION SQL_TXN_ISOLATION

SQL_ATTR_USE_BOOKMARKS

#define SQL_ATTR_USE_BOOKMARKS SQL_USE_BOOKMARKS

SQL_ATTR_WRITE

#define SQL_ATTR_WRITE 1

SQL_AUTOCOMMIT

#define SQL_AUTOCOMMIT 102

SQL_AUTOCOMMIT_DEFAULT

#define SQL_AUTOCOMMIT_DEFAULT SQL_AUTOCOMMIT_ON

SQL_AUTOCOMMIT_OFF

#define SQL_AUTOCOMMIT_OFF 0

SQL_AUTOCOMMIT_ON

#define SQL_AUTOCOMMIT_ON 1

SQL_BATCH_ROW_COUNT

#define SQL_BATCH_ROW_COUNT 120

SQL_BATCH_SUPPORT

#define SQL_BATCH_SUPPORT 121

SQL_BEST_ROWID

#define SQL_BEST_ROWID 1

SQL_BIGINT

#define SQL_BIGINT (-5)

SQL_BINARY

#define SQL_BINARY (-2)

SQL_BIND_BY_COLUMN

#define SQL_BIND_BY_COLUMN 0

SQL_BIND_TYPE

#define SQL_BIND_TYPE 5

SQL_BIND_TYPE_DEFAULT

#define SQL_BIND_TYPE_DEFAULT SQL_BIND_BY_COLUMN

SQL_BIT

#define SQL_BIT (-7)

SQL_BOOKMARK_PERSISTENCE

#define SQL_BOOKMARK_PERSISTENCE 82

SQL_BP_CLOSE

#define SQL_BP_CLOSE 0x00000001L

SQL_BP_DELETE

#define SQL_BP_DELETE 0x00000002L

SQL_BP_DROP

#define SQL_BP_DROP 0x00000004L

SQL_BP_OTHER_HSTMT

#define SQL_BP_OTHER_HSTMT 0x00000020L

SQL_BP_SCROLL

#define SQL_BP_SCROLL 0x00000040L

SQL_BP_TRANSACTION

#define SQL_BP_TRANSACTION 0x00000008L

SQL_BP_UPDATE

#define SQL_BP_UPDATE 0x00000010L

SQL_BRC_EXPLICIT

#define SQL_BRC_EXPLICIT 0x0000002

SQL_BRC_PROCEDURES

#define SQL_BRC_PROCEDURES 0x0000001

SQL_BRC_ROLLED_UP

#define SQL_BRC_ROLLED_UP 0x0000004

SQL_BS_ROW_COUNT_EXPLICIT

#define SQL_BS_ROW_COUNT_EXPLICIT 0x00000002L

SQL_BS_ROW_COUNT_PROC

#define SQL_BS_ROW_COUNT_PROC 0x00000008L

SQL_BS_SELECT_EXPLICIT

#define SQL_BS_SELECT_EXPLICIT 0x00000001L

SQL_BS_SELECT_PROC

#define SQL_BS_SELECT_PROC 0x00000004L

SQL_C_BINARY

#define SQL_C_BINARY SQL_BINARY

SQL_C_BIT

#define SQL_C_BIT SQL_BIT

SQL_C_BOOKMARK

#define SQL_C_BOOKMARK SQL_C_ULONG

SQL_C_CHAR

#define SQL_C_CHAR SQL_CHAR

SQL_C_DATE

#define SQL_C_DATE SQL_DATE

SQL_C_DEFAULT

#define SQL_C_DEFAULT 99

SQL_C_DOUBLE

#define SQL_C_DOUBLE SQL_DOUBLE

SQL_C_FLOAT

#define SQL_C_FLOAT SQL_REAL

SQL_C_GUID

#define SQL_C_GUID SQL_GUID

SQL_C_INTERVAL_DAY

#define SQL_C_INTERVAL_DAY SQL_INTERVAL_DAY

SQL_C_INTERVAL_DAY_TO_HOUR

#define SQL_C_INTERVAL_DAY_TO_HOUR SQL_INTERVAL_DAY_TO_HOUR

SQL_C_INTERVAL_DAY_TO_MINUTE

#define SQL_C_INTERVAL_DAY_TO_MINUTE SQL_INTERVAL_DAY_TO_MINUTE

SQL_C_INTERVAL_DAY_TO_SECOND

#define SQL_C_INTERVAL_DAY_TO_SECOND SQL_INTERVAL_DAY_TO_SECOND

SQL_C_INTERVAL_HOUR

#define SQL_C_INTERVAL_HOUR SQL_INTERVAL_HOUR

SQL_C_INTERVAL_HOUR_TO_MINUTE

#define SQL_C_INTERVAL_HOUR_TO_MINUTE SQL_INTERVAL_HOUR_TO_MINUTE

SQL_C_INTERVAL_HOUR_TO_SECOND

#define SQL_C_INTERVAL_HOUR_TO_SECOND SQL_INTERVAL_HOUR_TO_SECOND

SQL_C_INTERVAL_MINUTE

#define SQL_C_INTERVAL_MINUTE SQL_INTERVAL_MINUTE

SQL_C_INTERVAL_MINUTE_TO_SECOND

#define SQL_C_INTERVAL_MINUTE_TO_SECOND SQL_INTERVAL_MINUTE_TO_SECOND

SQL_C_INTERVAL_MONTH

#define SQL_C_INTERVAL_MONTH SQL_INTERVAL_MONTH

SQL_C_INTERVAL_SECOND

#define SQL_C_INTERVAL_SECOND SQL_INTERVAL_SECOND

SQL_C_INTERVAL_YEAR

#define SQL_C_INTERVAL_YEAR SQL_INTERVAL_YEAR

SQL_C_INTERVAL_YEAR_TO_MONTH

#define SQL_C_INTERVAL_YEAR_TO_MONTH SQL_INTERVAL_YEAR_TO_MONTH

SQL_C_LONG

#define SQL_C_LONG SQL_INTEGER

SQL_C_NUMERIC

#define SQL_C_NUMERIC SQL_NUMERIC

SQL_C_SBIGINT

#define SQL_C_SBIGINT (SQL_BIGINT + SQL_SIGNED_OFFSET)

SQL_C_SHORT

#define SQL_C_SHORT SQL_SMALLINT

SQL_C_SLONG

#define SQL_C_SLONG (SQL_C_LONG + SQL_SIGNED_OFFSET)

SQL_C_SSHORT

#define SQL_C_SSHORT (SQL_C_SHORT + SQL_SIGNED_OFFSET)

SQL_C_STINYINT

#define SQL_C_STINYINT (SQL_TINYINT + SQL_SIGNED_OFFSET)

SQL_C_TIME

#define SQL_C_TIME SQL_TIME

SQL_C_TIMESTAMP

#define SQL_C_TIMESTAMP SQL_TIMESTAMP

SQL_C_TINYINT

#define SQL_C_TINYINT SQL_TINYINT

SQL_C_TYPE_DATE

#define SQL_C_TYPE_DATE SQL_TYPE_DATE

SQL_C_TYPE_TIME

#define SQL_C_TYPE_TIME SQL_TYPE_TIME

SQL_C_TYPE_TIMESTAMP

#define SQL_C_TYPE_TIMESTAMP SQL_TYPE_TIMESTAMP

SQL_C_UBIGINT

#define SQL_C_UBIGINT (SQL_BIGINT + SQL_UNSIGNED_OFFSET)

SQL_C_ULONG

#define SQL_C_ULONG (SQL_C_LONG + SQL_UNSIGNED_OFFSET)

SQL_C_USHORT

#define SQL_C_USHORT (SQL_C_SHORT + SQL_UNSIGNED_OFFSET)

SQL_C_UTINYINT

#define SQL_C_UTINYINT (SQL_TINYINT + SQL_UNSIGNED_OFFSET)

SQL_C_VARBOOKMARK

#define SQL_C_VARBOOKMARK SQL_C_BINARY

SQL_CA1_ABSOLUTE

#define SQL_CA1_ABSOLUTE 0x00000002L

SQL_CA1_BOOKMARK

#define SQL_CA1_BOOKMARK 0x00000008L

SQL_CA1_BULK_ADD

#define SQL_CA1_BULK_ADD 0x00010000L

SQL_CA1_BULK_DELETE_BY_BOOKMARK

#define SQL_CA1_BULK_DELETE_BY_BOOKMARK 0x00040000L

SQL_CA1_BULK_FETCH_BY_BOOKMARK

#define SQL_CA1_BULK_FETCH_BY_BOOKMARK 0x00080000L

SQL_CA1_BULK_UPDATE_BY_BOOKMARK

#define SQL_CA1_BULK_UPDATE_BY_BOOKMARK 0x00020000L

SQL_CA1_LOCK_EXCLUSIVE

#define SQL_CA1_LOCK_EXCLUSIVE 0x00000080L

SQL_CA1_LOCK_NO_CHANGE

#define SQL_CA1_LOCK_NO_CHANGE 0x00000040L

SQL_CA1_LOCK_UNLOC

#define SQL_CA1_LOCK_UNLOC 0x00000100L

SQL_CA1_NEXT

#define SQL_CA1_NEXT 0x00000001L

SQL_CA1_POS_DELETE

#define SQL_CA1_POS_DELETE 0x00000800L

SQL_CA1_POS_POSITION

#define SQL_CA1_POS_POSITION 0x00000200L

SQL_CA1_POS_REFRESH

#define SQL_CA1_POS_REFRESH 0x00001000L

SQL_CA1_POS_UPDATE

#define SQL_CA1_POS_UPDATE 0x00000400L

SQL_CA1_POSITIONED_DELETE

#define SQL_CA1_POSITIONED_DELETE 0x00004000L

SQL_CA1_POSITIONED_UPDATE

#define SQL_CA1_POSITIONED_UPDATE 0x00002000L

SQL_CA1_RELATIVE

#define SQL_CA1_RELATIVE 0x00000004L

SQL_CA1_SELECT_FOR_UPDATE

#define SQL_CA1_SELECT_FOR_UPDATE 0x00008000L

SQL_CA2_CRC_APPROXIMATE

#define SQL_CA2_CRC_APPROXIMATE 0x00002000L

SQL_CA2_CRC_EXACT

#define SQL_CA2_CRC_EXACT 0x00001000L

SQL_CA2_LOCK_CONCURRENCY

#define SQL_CA2_LOCK_CONCURRENCY 0x00000002L

SQL_CA2_MAX_ROWS_AFFECTS_ALL

#define SQL_CA2_MAX_ROWS_AFFECTS_ALL
Value:
SQL_CA2_MAX_ROWS_DELETE | SQL_CA2_MAX_ROWS_UPDATE | \
SQL_CA2_MAX_ROWS_CATALOG)

SQL_CA2_MAX_ROWS_CATALOG

#define SQL_CA2_MAX_ROWS_CATALOG 0x00000800L

SQL_CA2_MAX_ROWS_DELETE

#define SQL_CA2_MAX_ROWS_DELETE 0x00000200L

SQL_CA2_MAX_ROWS_INSERT

#define SQL_CA2_MAX_ROWS_INSERT 0x00000100L

SQL_CA2_MAX_ROWS_SELECT

#define SQL_CA2_MAX_ROWS_SELECT 0x00000080L

SQL_CA2_MAX_ROWS_UPDATE

#define SQL_CA2_MAX_ROWS_UPDATE 0x00000400L

SQL_CA2_OPT_ROWVER_CONCURRENCY

#define SQL_CA2_OPT_ROWVER_CONCURRENCY 0x00000004L

SQL_CA2_OPT_VALUES_CONCURRENCY

#define SQL_CA2_OPT_VALUES_CONCURRENCY 0x00000008L

SQL_CA2_READ_ONLY_CONCURRENCY

#define SQL_CA2_READ_ONLY_CONCURRENCY 0x00000001L

SQL_CA2_SENSITIVITY_ADDITIONS

#define SQL_CA2_SENSITIVITY_ADDITIONS 0x00000010L

SQL_CA2_SENSITIVITY_DELETIONS

#define SQL_CA2_SENSITIVITY_DELETIONS 0x00000020L

SQL_CA2_SENSITIVITY_UPDATES

#define SQL_CA2_SENSITIVITY_UPDATES 0x00000040L

SQL_CA2_SIMULATE_NON_UNIQUE

#define SQL_CA2_SIMULATE_NON_UNIQUE 0x00004000L

SQL_CA2_SIMULATE_TRY_UNIQUE

#define SQL_CA2_SIMULATE_TRY_UNIQUE 0x00008000L

SQL_CA2_SIMULATE_UNIQUE

#define SQL_CA2_SIMULATE_UNIQUE 0x00010000L

SQL_CA_CONSTRAINT_DEFERRABLE

#define SQL_CA_CONSTRAINT_DEFERRABLE 0x00000040L

SQL_CA_CONSTRAINT_INITIALLY_DEFERRED

#define SQL_CA_CONSTRAINT_INITIALLY_DEFERRED 0x00000010L

SQL_CA_CONSTRAINT_INITIALLY_IMMEDIATE

#define SQL_CA_CONSTRAINT_INITIALLY_IMMEDIATE 0x00000020L

SQL_CA_CONSTRAINT_NON_DEFERRABLE

#define SQL_CA_CONSTRAINT_NON_DEFERRABLE 0x00000080L

SQL_CA_CREATE_ASSERTION

#define SQL_CA_CREATE_ASSERTION 0x00000001L

SQL_CASCADE

#define SQL_CASCADE 0

SQL_CATALOG_LOCATION

#define SQL_CATALOG_LOCATION SQL_QUALIFIER_LOCATION

SQL_CATALOG_NAME_SEPARATOR

#define SQL_CATALOG_NAME_SEPARATOR SQL_QUALIFIER_NAME_SEPARATOR

SQL_CATALOG_TERM

#define SQL_CATALOG_TERM SQL_QUALIFIER_TERM

SQL_CATALOG_USAGE

#define SQL_CATALOG_USAGE SQL_QUALIFIER_USAGE

SQL_CB_NON_NULL

#define SQL_CB_NON_NULL 0x0001

SQL_CB_NULL

#define SQL_CB_NULL 0x0000

SQL_CCOL_CREATE_COLLATION

#define SQL_CCOL_CREATE_COLLATION 0x00000001L

SQL_CCS_COLLATE_CLAUSE

#define SQL_CCS_COLLATE_CLAUSE 0x00000002L

SQL_CCS_CREATE_CHARACTER_SET

#define SQL_CCS_CREATE_CHARACTER_SET 0x00000001L

SQL_CCS_LIMITED_COLLATION

#define SQL_CCS_LIMITED_COLLATION 0x00000004L

SQL_CD_FALSE

#define SQL_CD_FALSE 0L

SQL_CD_TRUE

#define SQL_CD_TRUE 1L

SQL_CDO_COLLATION

#define SQL_CDO_COLLATION 0x00000008L

SQL_CDO_CONSTRAINT

#define SQL_CDO_CONSTRAINT 0x00000004L

SQL_CDO_CONSTRAINT_DEFERRABLE

#define SQL_CDO_CONSTRAINT_DEFERRABLE 0x00000080L

SQL_CDO_CONSTRAINT_INITIALLY_DEFERRED

#define SQL_CDO_CONSTRAINT_INITIALLY_DEFERRED 0x00000020L

SQL_CDO_CONSTRAINT_INITIALLY_IMMEDIATE

#define SQL_CDO_CONSTRAINT_INITIALLY_IMMEDIATE 0x00000040L

SQL_CDO_CONSTRAINT_NAME_DEFINITION

#define SQL_CDO_CONSTRAINT_NAME_DEFINITION 0x00000010L

SQL_CDO_CONSTRAINT_NON_DEFERRABLE

#define SQL_CDO_CONSTRAINT_NON_DEFERRABLE 0x00000100L

SQL_CDO_CREATE_DOMAIN

#define SQL_CDO_CREATE_DOMAIN 0x00000001L

SQL_CDO_DEFAULT

#define SQL_CDO_DEFAULT 0x00000002L

SQL_CL_END

#define SQL_CL_END SQL_QL_END

SQL_CL_START

#define SQL_CL_START SQL_QL_START

SQL_CN_ANY

#define SQL_CN_ANY 0x0002

SQL_CN_DIFFERENT

#define SQL_CN_DIFFERENT 0x0001

SQL_CN_NONE

#define SQL_CN_NONE 0x0000

SQL_CODE_DAY

#define SQL_CODE_DAY 3

SQL_CODE_DAY_TO_HOUR

#define SQL_CODE_DAY_TO_HOUR 8

SQL_CODE_DAY_TO_MINUTE

#define SQL_CODE_DAY_TO_MINUTE 9

SQL_CODE_DAY_TO_SECOND

#define SQL_CODE_DAY_TO_SECOND 10

SQL_CODE_HOUR

#define SQL_CODE_HOUR 4

SQL_CODE_HOUR_TO_MINUTE

#define SQL_CODE_HOUR_TO_MINUTE 11

SQL_CODE_HOUR_TO_SECOND

#define SQL_CODE_HOUR_TO_SECOND 12

SQL_CODE_MINUTE

#define SQL_CODE_MINUTE 5

SQL_CODE_MINUTE_TO_SECOND

#define SQL_CODE_MINUTE_TO_SECOND 13

SQL_CODE_MONTH

#define SQL_CODE_MONTH 2

SQL_CODE_SECOND

#define SQL_CODE_SECOND 6

SQL_CODE_YEAR

#define SQL_CODE_YEAR 1

SQL_CODE_YEAR_TO_MONTH

#define SQL_CODE_YEAR_TO_MONTH 7

SQL_COL_PRED_BASIC

#define SQL_COL_PRED_BASIC SQL_ALL_EXCEPT_LIKE

SQL_COL_PRED_CHAR

#define SQL_COL_PRED_CHAR SQL_LIKE_ONLY

SQL_COLATT_OPT_MAX

#define SQL_COLATT_OPT_MAX SQL_COLUMN_LABEL

SQL_COLATT_OPT_MIN

#define SQL_COLATT_OPT_MIN SQL_COLUMN_COUNT

SQL_COLUMN_ALIAS

#define SQL_COLUMN_ALIAS 87

SQL_COLUMN_AUTO_INCREMENT

#define SQL_COLUMN_AUTO_INCREMENT 11

SQL_COLUMN_CASE_SENSITIVE

#define SQL_COLUMN_CASE_SENSITIVE 12

SQL_COLUMN_COUNT

#define SQL_COLUMN_COUNT 0

SQL_COLUMN_DISPLAY_SIZE

#define SQL_COLUMN_DISPLAY_SIZE 6

SQL_COLUMN_DRIVER_START

#define SQL_COLUMN_DRIVER_START 1000

SQL_COLUMN_IGNORE

#define SQL_COLUMN_IGNORE SQL_IGNORE

SQL_COLUMN_LABEL

#define SQL_COLUMN_LABEL 18

SQL_COLUMN_LENGTH

#define SQL_COLUMN_LENGTH 3

SQL_COLUMN_MONEY

#define SQL_COLUMN_MONEY 9

SQL_COLUMN_NAME

#define SQL_COLUMN_NAME 1

SQL_COLUMN_NULLABLE

#define SQL_COLUMN_NULLABLE 7

SQL_COLUMN_NUMBER_UNKNOWN

#define SQL_COLUMN_NUMBER_UNKNOWN (-2)

SQL_COLUMN_OWNER_NAME

#define SQL_COLUMN_OWNER_NAME 16

SQL_COLUMN_PRECISION

#define SQL_COLUMN_PRECISION 4

SQL_COLUMN_QUALIFIER_NAME

#define SQL_COLUMN_QUALIFIER_NAME 17

SQL_COLUMN_SCALE

#define SQL_COLUMN_SCALE 5

SQL_COLUMN_SEARCHABLE

#define SQL_COLUMN_SEARCHABLE 13

SQL_COLUMN_TABLE_NAME

#define SQL_COLUMN_TABLE_NAME 15

SQL_COLUMN_TYPE

#define SQL_COLUMN_TYPE 2

SQL_COLUMN_TYPE_NAME

#define SQL_COLUMN_TYPE_NAME 14

SQL_COLUMN_UNSIGNED

#define SQL_COLUMN_UNSIGNED 8

SQL_COLUMN_UPDATABLE

#define SQL_COLUMN_UPDATABLE 10

SQL_CONCAT_NULL_BEHAVIOR

#define SQL_CONCAT_NULL_BEHAVIOR 22

SQL_CONCUR_DEFAULT

#define SQL_CONCUR_DEFAULT SQL_CONCUR_READ_ONLY

SQL_CONCUR_LOCK

#define SQL_CONCUR_LOCK 2

SQL_CONCUR_READ_ONLY

#define SQL_CONCUR_READ_ONLY 1

SQL_CONCUR_ROWVER

#define SQL_CONCUR_ROWVER 3

SQL_CONCUR_VALUES

#define SQL_CONCUR_VALUES 4

SQL_CONCURRENCY

#define SQL_CONCURRENCY 7

SQL_CONVERT_BIGINT

#define SQL_CONVERT_BIGINT 53

SQL_CONVERT_BINARY

#define SQL_CONVERT_BINARY 54

SQL_CONVERT_BIT

#define SQL_CONVERT_BIT 55

SQL_CONVERT_CHAR

#define SQL_CONVERT_CHAR 56

SQL_CONVERT_DATE

#define SQL_CONVERT_DATE 57

SQL_CONVERT_DECIMAL

#define SQL_CONVERT_DECIMAL 58

SQL_CONVERT_DOUBLE

#define SQL_CONVERT_DOUBLE 59

SQL_CONVERT_FLOAT

#define SQL_CONVERT_FLOAT 60

SQL_CONVERT_FUNCTIONS

#define SQL_CONVERT_FUNCTIONS 48

SQL_CONVERT_GUID

#define SQL_CONVERT_GUID 173

SQL_CONVERT_INTEGER

#define SQL_CONVERT_INTEGER 61

SQL_CONVERT_INTERVAL_DAY_TIME

#define SQL_CONVERT_INTERVAL_DAY_TIME 123

SQL_CONVERT_INTERVAL_YEAR_MONTH

#define SQL_CONVERT_INTERVAL_YEAR_MONTH 124

SQL_CONVERT_LONGVARBINARY

#define SQL_CONVERT_LONGVARBINARY 71

SQL_CONVERT_LONGVARCHAR

#define SQL_CONVERT_LONGVARCHAR 62

SQL_CONVERT_NUMERIC

#define SQL_CONVERT_NUMERIC 63

SQL_CONVERT_REAL

#define SQL_CONVERT_REAL 64

SQL_CONVERT_SMALLINT

#define SQL_CONVERT_SMALLINT 65

SQL_CONVERT_TIME

#define SQL_CONVERT_TIME 66

SQL_CONVERT_TIMESTAMP

#define SQL_CONVERT_TIMESTAMP 67

SQL_CONVERT_TINYINT

#define SQL_CONVERT_TINYINT 68

SQL_CONVERT_VARBINARY

#define SQL_CONVERT_VARBINARY 69

SQL_CONVERT_VARCHAR

#define SQL_CONVERT_VARCHAR 70

SQL_CONVERT_WCHAR

#define SQL_CONVERT_WCHAR 122

SQL_CONVERT_WLONGVARCHAR

#define SQL_CONVERT_WLONGVARCHAR 125

SQL_CONVERT_WVARCHAR

#define SQL_CONVERT_WVARCHAR 126

SQL_CORRELATION_NAME

#define SQL_CORRELATION_NAME 74

SQL_CP_DEFAULT

#define SQL_CP_DEFAULT SQL_CP_OFF

SQL_CP_MATCH_DEFAULT

#define SQL_CP_MATCH_DEFAULT SQL_CP_STRICT_MATCH

SQL_CP_OFF

#define SQL_CP_OFF 0

SQL_CP_ONE_PER_DRIVER

#define SQL_CP_ONE_PER_DRIVER 1

SQL_CP_ONE_PER_HENV

#define SQL_CP_ONE_PER_HENV 2

SQL_CP_RELAXED_MATCH

#define SQL_CP_RELAXED_MATCH 1

SQL_CP_STRICT_MATCH

#define SQL_CP_STRICT_MATCH 0

SQL_CREATE_ASSERTION

#define SQL_CREATE_ASSERTION 127

SQL_CREATE_CHARACTER_SET

#define SQL_CREATE_CHARACTER_SET 128

SQL_CREATE_COLLATION

#define SQL_CREATE_COLLATION 129

SQL_CREATE_DOMAIN

#define SQL_CREATE_DOMAIN 130

SQL_CREATE_SCHEMA

#define SQL_CREATE_SCHEMA 131

SQL_CREATE_TABLE

#define SQL_CREATE_TABLE 132

SQL_CREATE_TRANSLATION

#define SQL_CREATE_TRANSLATION 133

SQL_CREATE_VIEW

#define SQL_CREATE_VIEW 134

SQL_CS_AUTHORIZATION

#define SQL_CS_AUTHORIZATION 0x00000002L

SQL_CS_CREATE_SCHEMA

#define SQL_CS_CREATE_SCHEMA 0x00000001L

SQL_CS_DEFAULT_CHARACTER_SET

#define SQL_CS_DEFAULT_CHARACTER_SET 0x00000004L

SQL_CT_COLUMN_COLLATION

#define SQL_CT_COLUMN_COLLATION 0x00000800L

SQL_CT_COLUMN_CONSTRAINT

#define SQL_CT_COLUMN_CONSTRAINT 0x00000200L

SQL_CT_COLUMN_DEFAULT

#define SQL_CT_COLUMN_DEFAULT 0x00000400L

SQL_CT_COMMIT_DELETE

#define SQL_CT_COMMIT_DELETE 0x00000004L

SQL_CT_COMMIT_PRESERVE

#define SQL_CT_COMMIT_PRESERVE 0x00000002L

SQL_CT_CONSTRAINT_DEFERRABLE

#define SQL_CT_CONSTRAINT_DEFERRABLE 0x00000080L

SQL_CT_CONSTRAINT_INITIALLY_DEFERRED

#define SQL_CT_CONSTRAINT_INITIALLY_DEFERRED 0x00000020L

SQL_CT_CONSTRAINT_INITIALLY_IMMEDIATE

#define SQL_CT_CONSTRAINT_INITIALLY_IMMEDIATE 0x00000040L

SQL_CT_CONSTRAINT_NAME_DEFINITION

#define SQL_CT_CONSTRAINT_NAME_DEFINITION 0x00002000L

SQL_CT_CONSTRAINT_NON_DEFERRABLE

#define SQL_CT_CONSTRAINT_NON_DEFERRABLE 0x00000100L

SQL_CT_CREATE_TABLE

#define SQL_CT_CREATE_TABLE 0x00000001L

SQL_CT_GLOBAL_TEMPORARY

#define SQL_CT_GLOBAL_TEMPORARY 0x00000008L

SQL_CT_LOCAL_TEMPORARY

#define SQL_CT_LOCAL_TEMPORARY 0x00000010L

SQL_CT_TABLE_CONSTRAINT

#define SQL_CT_TABLE_CONSTRAINT 0x00001000L

SQL_CTR_CREATE_TRANSLATION

#define SQL_CTR_CREATE_TRANSLATION 0x00000001L

SQL_CU_DML_STATEMENTS

#define SQL_CU_DML_STATEMENTS SQL_QU_DML_STATEMENTS

SQL_CU_INDEX_DEFINITION

#define SQL_CU_INDEX_DEFINITION QL_QU_INDEX_DEFINITION

SQL_CU_PRIVILEGE_DEFINITION

#define SQL_CU_PRIVILEGE_DEFINITION SQL_QU_PRIVILEGE_DEFINITION

SQL_CU_PROCEDURE_INVOCATION

#define SQL_CU_PROCEDURE_INVOCATION SQL_QU_PROCEDURE_INVOCATION

SQL_CU_TABLE_DEFINITION

#define SQL_CU_TABLE_DEFINITION SQL_QU_TABLE_DEFINITION

SQL_CUR_DEFAULT

#define SQL_CUR_DEFAULT SQL_CUR_USE_DRIVER

SQL_CUR_USE_DRIVER

#define SQL_CUR_USE_DRIVER 2

SQL_CUR_USE_IF_NEEDED

#define SQL_CUR_USE_IF_NEEDED 0

SQL_CUR_USE_ODBC

#define SQL_CUR_USE_ODBC 1

SQL_CURRENT_QUALIFIER

#define SQL_CURRENT_QUALIFIER 109

SQL_CURSOR_DYNAMIC

#define SQL_CURSOR_DYNAMIC 2

SQL_CURSOR_FORWARD_ONLY

#define SQL_CURSOR_FORWARD_ONLY 0

SQL_CURSOR_KEYSET_DRIVEN

#define SQL_CURSOR_KEYSET_DRIVEN 1

SQL_CURSOR_ROLLBACK_BEHAVIOR

#define SQL_CURSOR_ROLLBACK_BEHAVIOR 24

SQL_CURSOR_STATIC

#define SQL_CURSOR_STATIC 3

SQL_CURSOR_TYPE

#define SQL_CURSOR_TYPE 6

SQL_CURSOR_TYPE_DEFAULT

#define SQL_CURSOR_TYPE_DEFAULT SQL_CURSOR_FORWARD_ONLY

SQL_CV_CASCADED

#define SQL_CV_CASCADED 0x00000004L

SQL_CV_CHECK_OPTION

#define SQL_CV_CHECK_OPTION 0x00000002L

SQL_CV_CREATE_VIEW

#define SQL_CV_CREATE_VIEW 0x00000001L

SQL_CV_LOCAL

#define SQL_CV_LOCAL 0x00000008L

SQL_CVT_BIGINT

#define SQL_CVT_BIGINT 0x00004000L

SQL_CVT_BINARY

#define SQL_CVT_BINARY 0x00000400L

SQL_CVT_BIT

#define SQL_CVT_BIT 0x00001000L

SQL_CVT_CHAR

#define SQL_CVT_CHAR 0x00000001L

SQL_CVT_DATE

#define SQL_CVT_DATE 0x00008000L

SQL_CVT_DECIMAL

#define SQL_CVT_DECIMAL 0x00000004L

SQL_CVT_DOUBLE

#define SQL_CVT_DOUBLE 0x00000080L

SQL_CVT_FLOAT

#define SQL_CVT_FLOAT 0x00000020L

SQL_CVT_INTEGER

#define SQL_CVT_INTEGER 0x00000008L

SQL_CVT_INTERVAL_DAY_TIME

#define SQL_CVT_INTERVAL_DAY_TIME 0x00100000L

SQL_CVT_INTERVAL_YEAR_MONTH

#define SQL_CVT_INTERVAL_YEAR_MONTH 0x00080000L

SQL_CVT_LONGVARBINARY

#define SQL_CVT_LONGVARBINARY 0x00040000L

SQL_CVT_LONGVARCHAR

#define SQL_CVT_LONGVARCHAR 0x00000200L

SQL_CVT_NUMERIC

#define SQL_CVT_NUMERIC 0x00000002L

SQL_CVT_REAL

#define SQL_CVT_REAL 0x00000040L

SQL_CVT_SMALLINT

#define SQL_CVT_SMALLINT 0x00000010L

SQL_CVT_TIME

#define SQL_CVT_TIME 0x00010000L

SQL_CVT_TIMESTAMP

#define SQL_CVT_TIMESTAMP 0x00020000L

SQL_CVT_TINYINT

#define SQL_CVT_TINYINT 0x00002000L

SQL_CVT_VARBINARY

#define SQL_CVT_VARBINARY 0x00000800L

SQL_CVT_VARCHAR

#define SQL_CVT_VARCHAR 0x00000100L

SQL_CVT_WCHAR

#define SQL_CVT_WCHAR 0x00200000L

SQL_CVT_WLONGVARCHAR

#define SQL_CVT_WLONGVARCHAR 0x00400000L

SQL_CVT_WVARCHAR

#define SQL_CVT_WVARCHAR 0x00800000L

SQL_DA_DROP_ASSERTION

#define SQL_DA_DROP_ASSERTION 0x00000001L

SQL_DATABASE_NAME

#define SQL_DATABASE_NAME 16 /* for SQLGetInfo() */

SQL_DATE

#define SQL_DATE 9

SQL_DATETIME_LITERALS

#define SQL_DATETIME_LITERALS 119

SQL_DB_DEFAULT

#define SQL_DB_DEFAULT SQL_DB_RETURN_TO_POOL

SQL_DB_DISCONNECT

#define SQL_DB_DISCONNECT 1

SQL_DB_RETURN_TO_POOL

#define SQL_DB_RETURN_TO_POOL 0

SQL_DC_DROP_COLLATION

#define SQL_DC_DROP_COLLATION 0x00000001L

SQL_DCS_DROP_CHARACTER_SET

#define SQL_DCS_DROP_CHARACTER_SET 0x00000001L

SQL_DD_CASCADE

#define SQL_DD_CASCADE 0x00000004L

SQL_DD_DROP_DOMAIN

#define SQL_DD_DROP_DOMAIN 0x00000001L

SQL_DD_RESTRICT

#define SQL_DD_RESTRICT 0x00000002L

SQL_DDL_INDEX

#define SQL_DDL_INDEX 170

SQL_DEFAULT_PARAM

#define SQL_DEFAULT_PARAM (-5)

SQL_DELETE

#define SQL_DELETE 3

SQL_DELETE_BY_BOOKMARK

#define SQL_DELETE_BY_BOOKMARK 6

SQL_DELETE_RECORD

#define SQL_DELETE_RECORD ( hstmt,
irow
) SQLSetPos (hstmt, irow, SQL_DELETE, SQL_LOCK_NO_CHANGE)

SQL_DESC_ARRAY_SIZE

#define SQL_DESC_ARRAY_SIZE 20

SQL_DESC_ARRAY_STATUS_PTR

#define SQL_DESC_ARRAY_STATUS_PTR 21

SQL_DESC_AUTO_UNIQUE_VALUE

#define SQL_DESC_AUTO_UNIQUE_VALUE SQL_COLUMN_AUTO_INCREMENT

SQL_DESC_BASE_COLUMN_NAME

#define SQL_DESC_BASE_COLUMN_NAME 22

SQL_DESC_BASE_TABLE_NAME

#define SQL_DESC_BASE_TABLE_NAME 23

SQL_DESC_BIND_OFFSET_PTR

#define SQL_DESC_BIND_OFFSET_PTR 24

SQL_DESC_BIND_TYPE

#define SQL_DESC_BIND_TYPE 25

SQL_DESC_CASE_SENSITIVE

#define SQL_DESC_CASE_SENSITIVE SQL_COLUMN_CASE_SENSITIVE

SQL_DESC_CATALOG_NAME

#define SQL_DESC_CATALOG_NAME SQL_COLUMN_QUALIFIER_NAME

SQL_DESC_CONCISE_TYPE

#define SQL_DESC_CONCISE_TYPE SQL_COLUMN_TYPE

SQL_DESC_DATETIME_INTERVAL_PRECISION

#define SQL_DESC_DATETIME_INTERVAL_PRECISION 26

SQL_DESC_DISPLAY_SIZE

#define SQL_DESC_DISPLAY_SIZE SQL_COLUMN_DISPLAY_SIZE

SQL_DESC_FIXED_PREC_SCALE

#define SQL_DESC_FIXED_PREC_SCALE SQL_COLUMN_MONEY

SQL_DESC_LABEL

#define SQL_DESC_LABEL SQL_COLUMN_LABEL

SQL_DESC_LITERAL_PREFIX

#define SQL_DESC_LITERAL_PREFIX 27

SQL_DESC_LITERAL_SUFFIX

#define SQL_DESC_LITERAL_SUFFIX 28

SQL_DESC_LOCAL_TYPE_NAME

#define SQL_DESC_LOCAL_TYPE_NAME 29

SQL_DESC_MAXIMUM_SCALE

#define SQL_DESC_MAXIMUM_SCALE 30

SQL_DESC_MINIMUM_SCALE

#define SQL_DESC_MINIMUM_SCALE 31

SQL_DESC_NUM_PREC_RADIX

#define SQL_DESC_NUM_PREC_RADIX 32

SQL_DESC_PARAMETER_TYPE

#define SQL_DESC_PARAMETER_TYPE 33

SQL_DESC_ROWS_PROCESSED_PTR

#define SQL_DESC_ROWS_PROCESSED_PTR 34

SQL_DESC_ROWVER

#define SQL_DESC_ROWVER 35

SQL_DESC_SCHEMA_NAME

#define SQL_DESC_SCHEMA_NAME SQL_COLUMN_OWNER_NAME

SQL_DESC_SEARCHABLE

#define SQL_DESC_SEARCHABLE SQL_COLUMN_SEARCHABLE

SQL_DESC_TABLE_NAME

#define SQL_DESC_TABLE_NAME SQL_COLUMN_TABLE_NAME

SQL_DESC_TYPE_NAME

#define SQL_DESC_TYPE_NAME SQL_COLUMN_TYPE_NAME

SQL_DESC_UNSIGNED

#define SQL_DESC_UNSIGNED SQL_COLUMN_UNSIGNED

SQL_DESC_UPDATABLE

#define SQL_DESC_UPDATABLE SQL_COLUMN_UPDATABLE

SQL_DI_CREATE_INDEX

#define SQL_DI_CREATE_INDEX 0x00000001L

SQL_DI_DROP_INDEX

#define SQL_DI_DROP_INDEX 0x00000002L

SQL_DIAG_COLUMN_NUMBER

#define SQL_DIAG_COLUMN_NUMBER (-1247)

SQL_DIAG_CURSOR_ROW_COUNT

#define SQL_DIAG_CURSOR_ROW_COUNT (-1249)

SQL_DIAG_ROW_NUMBER

#define SQL_DIAG_ROW_NUMBER (-1248)

SQL_DL_SQL92_DATE

#define SQL_DL_SQL92_DATE 0x00000001L

SQL_DL_SQL92_INTERVAL_DAY

#define SQL_DL_SQL92_INTERVAL_DAY 0x00000020L

SQL_DL_SQL92_INTERVAL_DAY_TO_HOUR

#define SQL_DL_SQL92_INTERVAL_DAY_TO_HOUR 0x00000400L

SQL_DL_SQL92_INTERVAL_DAY_TO_MINUTE

#define SQL_DL_SQL92_INTERVAL_DAY_TO_MINUTE 0x00000800L

SQL_DL_SQL92_INTERVAL_DAY_TO_SECOND

#define SQL_DL_SQL92_INTERVAL_DAY_TO_SECOND 0x00001000L

SQL_DL_SQL92_INTERVAL_HOUR

#define SQL_DL_SQL92_INTERVAL_HOUR 0x00000040L

SQL_DL_SQL92_INTERVAL_HOUR_TO_MINUTE

#define SQL_DL_SQL92_INTERVAL_HOUR_TO_MINUTE 0x00002000L

SQL_DL_SQL92_INTERVAL_HOUR_TO_SECOND

#define SQL_DL_SQL92_INTERVAL_HOUR_TO_SECOND 0x00004000L

SQL_DL_SQL92_INTERVAL_MINUTE

#define SQL_DL_SQL92_INTERVAL_MINUTE 0x00000080L

SQL_DL_SQL92_INTERVAL_MINUTE_TO_SECOND

#define SQL_DL_SQL92_INTERVAL_MINUTE_TO_SECOND 0x00008000L

SQL_DL_SQL92_INTERVAL_MONTH

#define SQL_DL_SQL92_INTERVAL_MONTH 0x00000010L

SQL_DL_SQL92_INTERVAL_SECOND

#define SQL_DL_SQL92_INTERVAL_SECOND 0x00000100L

SQL_DL_SQL92_INTERVAL_YEAR

#define SQL_DL_SQL92_INTERVAL_YEAR 0x00000008L

SQL_DL_SQL92_INTERVAL_YEAR_TO_MONTH

#define SQL_DL_SQL92_INTERVAL_YEAR_TO_MONTH 0x00000200L

SQL_DL_SQL92_TIME

#define SQL_DL_SQL92_TIME 0x00000002L

SQL_DL_SQL92_TIMESTAMP

#define SQL_DL_SQL92_TIMESTAMP 0x00000004L

SQL_DM_VER

#define SQL_DM_VER 171

SQL_DRIVER_C_TYPE_BASE

#define SQL_DRIVER_C_TYPE_BASE 0x4000

SQL_DRIVER_COMPLETE

#define SQL_DRIVER_COMPLETE 1

SQL_DRIVER_COMPLETE_REQUIRED

#define SQL_DRIVER_COMPLETE_REQUIRED 3

SQL_DRIVER_CONN_ATTR_BASE

#define SQL_DRIVER_CONN_ATTR_BASE 0x00004000 /* 32-bit */

SQL_DRIVER_DESC_FIELD_BASE

#define SQL_DRIVER_DESC_FIELD_BASE 0x4000

SQL_DRIVER_DIAG_FIELD_BASE

#define SQL_DRIVER_DIAG_FIELD_BASE 0x4000

SQL_DRIVER_HDBC

#define SQL_DRIVER_HDBC 3

SQL_DRIVER_HDESC

#define SQL_DRIVER_HDESC 135

SQL_DRIVER_HENV

#define SQL_DRIVER_HENV 4

SQL_DRIVER_HLIB

#define SQL_DRIVER_HLIB 76

SQL_DRIVER_HSTMT

#define SQL_DRIVER_HSTMT 5

SQL_DRIVER_INFO_TYPE_BASE

#define SQL_DRIVER_INFO_TYPE_BASE 0x4000

SQL_DRIVER_NAME

#define SQL_DRIVER_NAME 6

SQL_DRIVER_NOPROMPT

#define SQL_DRIVER_NOPROMPT 0

SQL_DRIVER_ODBC_VER

#define SQL_DRIVER_ODBC_VER 77

SQL_DRIVER_PROMPT

#define SQL_DRIVER_PROMPT 2

SQL_DRIVER_SQL_TYPE_BASE

#define SQL_DRIVER_SQL_TYPE_BASE 0x4000

SQL_DRIVER_STMT_ATTR_BASE

#define SQL_DRIVER_STMT_ATTR_BASE 0x00004000 /* 32-bit */

SQL_DRIVER_VER

#define SQL_DRIVER_VER 7

SQL_DROP_ASSERTION

#define SQL_DROP_ASSERTION 136

SQL_DROP_CHARACTER_SET

#define SQL_DROP_CHARACTER_SET 137

SQL_DROP_COLLATION

#define SQL_DROP_COLLATION 138

SQL_DROP_DOMAIN

#define SQL_DROP_DOMAIN 139

SQL_DROP_SCHEMA

#define SQL_DROP_SCHEMA 140

SQL_DROP_TABLE

#define SQL_DROP_TABLE 141

SQL_DROP_TRANSLATION

#define SQL_DROP_TRANSLATION 142

SQL_DROP_VIEW

#define SQL_DROP_VIEW 143

SQL_DS_CASCADE

#define SQL_DS_CASCADE 0x00000004L

SQL_DS_DROP_SCHEMA

#define SQL_DS_DROP_SCHEMA 0x00000001L

SQL_DS_RESTRICT

#define SQL_DS_RESTRICT 0x00000002L

SQL_DT_CASCADE

#define SQL_DT_CASCADE 0x00000004L

SQL_DT_DROP_TABLE

#define SQL_DT_DROP_TABLE 0x00000001L

SQL_DT_RESTRICT

#define SQL_DT_RESTRICT 0x00000002L

SQL_DTC_DONE

#define SQL_DTC_DONE 0L

SQL_DTC_ENLIST_EXPENSIVE

#define SQL_DTC_ENLIST_EXPENSIVE 0x00000001L

SQL_DTC_TRANSITION_COST

#define SQL_DTC_TRANSITION_COST 1750

SQL_DTC_UNENLIST_EXPENSIVE

#define SQL_DTC_UNENLIST_EXPENSIVE 0x00000002L

SQL_DTR_DROP_TRANSLATION

#define SQL_DTR_DROP_TRANSLATION 0x00000001L

SQL_DV_CASCADE

#define SQL_DV_CASCADE 0x00000004L

SQL_DV_DROP_VIEW

#define SQL_DV_DROP_VIEW 0x00000001L

SQL_DV_RESTRICT

#define SQL_DV_RESTRICT 0x00000002L

SQL_DYNAMIC_CURSOR_ATTRIBUTES1

#define SQL_DYNAMIC_CURSOR_ATTRIBUTES1 144

SQL_DYNAMIC_CURSOR_ATTRIBUTES2

#define SQL_DYNAMIC_CURSOR_ATTRIBUTES2 145

SQL_ENSURE

#define SQL_ENSURE 1

SQL_ENTIRE_ROWSET

#define SQL_ENTIRE_ROWSET 0

SQL_EXPRESSIONS_IN_ORDERBY

#define SQL_EXPRESSIONS_IN_ORDERBY 27

SQL_FD_FETCH_BOOKMARK

#define SQL_FD_FETCH_BOOKMARK 0x00000080L

SQL_FETCH_BOOKMARK

#define SQL_FETCH_BOOKMARK 8

SQL_FETCH_BY_BOOKMARK

#define SQL_FETCH_BY_BOOKMARK 7

SQL_FETCH_FIRST_SYSTEM

#define SQL_FETCH_FIRST_SYSTEM 32

SQL_FETCH_FIRST_USER

#define SQL_FETCH_FIRST_USER 31

SQL_FILE_CATALOG

#define SQL_FILE_CATALOG SQL_FILE_QUALIFIER

SQL_FILE_NOT_SUPPORTED

#define SQL_FILE_NOT_SUPPORTED 0x0000

SQL_FILE_QUALIFIER

#define SQL_FILE_QUALIFIER 0x0002

SQL_FILE_TABLE

#define SQL_FILE_TABLE 0x0001

SQL_FILE_USAGE

#define SQL_FILE_USAGE 84

SQL_FN_CVT_CAST

#define SQL_FN_CVT_CAST 0x00000002L

SQL_FN_CVT_CONVERT

#define SQL_FN_CVT_CONVERT 0x00000001L

SQL_FN_NUM_ABS

#define SQL_FN_NUM_ABS 0x00000001L

SQL_FN_NUM_ACOS

#define SQL_FN_NUM_ACOS 0x00000002L

SQL_FN_NUM_ASIN

#define SQL_FN_NUM_ASIN 0x00000004L

SQL_FN_NUM_ATAN

#define SQL_FN_NUM_ATAN 0x00000008L

SQL_FN_NUM_ATAN2

#define SQL_FN_NUM_ATAN2 0x00000010L

SQL_FN_NUM_CEILING

#define SQL_FN_NUM_CEILING 0x00000020L

SQL_FN_NUM_COS

#define SQL_FN_NUM_COS 0x00000040L

SQL_FN_NUM_COT

#define SQL_FN_NUM_COT 0x00000080L

SQL_FN_NUM_DEGREES

#define SQL_FN_NUM_DEGREES 0x00040000L

SQL_FN_NUM_EXP

#define SQL_FN_NUM_EXP 0x00000100L

SQL_FN_NUM_FLOOR

#define SQL_FN_NUM_FLOOR 0x00000200L

SQL_FN_NUM_LOG

#define SQL_FN_NUM_LOG 0x00000400L

SQL_FN_NUM_LOG10

#define SQL_FN_NUM_LOG10 0x00080000L

SQL_FN_NUM_MOD

#define SQL_FN_NUM_MOD 0x00000800L

SQL_FN_NUM_PI

#define SQL_FN_NUM_PI 0x00010000L

SQL_FN_NUM_POWER

#define SQL_FN_NUM_POWER 0x00100000L

SQL_FN_NUM_RADIANS

#define SQL_FN_NUM_RADIANS 0x00200000L

SQL_FN_NUM_RAND

#define SQL_FN_NUM_RAND 0x00020000L

SQL_FN_NUM_ROUND

#define SQL_FN_NUM_ROUND 0x00400000L

SQL_FN_NUM_SIGN

#define SQL_FN_NUM_SIGN 0x00001000L

SQL_FN_NUM_SIN

#define SQL_FN_NUM_SIN 0x00002000L

SQL_FN_NUM_SQRT

#define SQL_FN_NUM_SQRT 0x00004000L

SQL_FN_NUM_TAN

#define SQL_FN_NUM_TAN 0x00008000L

SQL_FN_NUM_TRUNCATE

#define SQL_FN_NUM_TRUNCATE 0x00800000L

SQL_FN_STR_ASCII

#define SQL_FN_STR_ASCII 0x00002000L

SQL_FN_STR_BIT_LENGTH

#define SQL_FN_STR_BIT_LENGTH 0x00080000L

SQL_FN_STR_CHAR

#define SQL_FN_STR_CHAR 0x00004000L

SQL_FN_STR_CHAR_LENGTH

#define SQL_FN_STR_CHAR_LENGTH 0x00100000L

SQL_FN_STR_CHARACTER_LENGTH

#define SQL_FN_STR_CHARACTER_LENGTH 0x00200000L

SQL_FN_STR_CONCAT

#define SQL_FN_STR_CONCAT 0x00000001L

SQL_FN_STR_DIFFERENCE

#define SQL_FN_STR_DIFFERENCE 0x00008000L

SQL_FN_STR_INSERT

#define SQL_FN_STR_INSERT 0x00000002L

SQL_FN_STR_LCASE

#define SQL_FN_STR_LCASE 0x00000040L

SQL_FN_STR_LEFT

#define SQL_FN_STR_LEFT 0x00000004L

SQL_FN_STR_LENGTH

#define SQL_FN_STR_LENGTH 0x00000010L

SQL_FN_STR_LOCATE

#define SQL_FN_STR_LOCATE 0x00000020L

SQL_FN_STR_LOCATE_2

#define SQL_FN_STR_LOCATE_2 0x00010000L

SQL_FN_STR_LTRIM

#define SQL_FN_STR_LTRIM 0x00000008L

SQL_FN_STR_OCTET_LENGTH

#define SQL_FN_STR_OCTET_LENGTH 0x00400000L

SQL_FN_STR_POSITION

#define SQL_FN_STR_POSITION 0x00800000L

SQL_FN_STR_REPEAT

#define SQL_FN_STR_REPEAT 0x00000080L

SQL_FN_STR_REPLACE

#define SQL_FN_STR_REPLACE 0x00000100L

SQL_FN_STR_RIGHT

#define SQL_FN_STR_RIGHT 0x00000200L

SQL_FN_STR_RTRIM

#define SQL_FN_STR_RTRIM 0x00000400L

SQL_FN_STR_SOUNDEX

#define SQL_FN_STR_SOUNDEX 0x00020000L

SQL_FN_STR_SPACE

#define SQL_FN_STR_SPACE 0x00040000L

SQL_FN_STR_SUBSTRING

#define SQL_FN_STR_SUBSTRING 0x00000800L

SQL_FN_STR_UCASE

#define SQL_FN_STR_UCASE 0x00001000L

SQL_FN_SYS_DBNAME

#define SQL_FN_SYS_DBNAME 0x00000002L

SQL_FN_SYS_IFNULL

#define SQL_FN_SYS_IFNULL 0x00000004L

SQL_FN_SYS_USERNAME

#define SQL_FN_SYS_USERNAME 0x00000001L

SQL_FN_TD_CURDATE

#define SQL_FN_TD_CURDATE 0x00000002L

SQL_FN_TD_CURRENT_DATE

#define SQL_FN_TD_CURRENT_DATE 0x00020000L

SQL_FN_TD_CURRENT_TIME

#define SQL_FN_TD_CURRENT_TIME 0x00040000L

SQL_FN_TD_CURRENT_TIMESTAMP

#define SQL_FN_TD_CURRENT_TIMESTAMP 0x00080000L

SQL_FN_TD_CURTIME

#define SQL_FN_TD_CURTIME 0x00000200L

SQL_FN_TD_DAYNAME

#define SQL_FN_TD_DAYNAME 0x00008000L

SQL_FN_TD_DAYOFMONTH

#define SQL_FN_TD_DAYOFMONTH 0x00000004L

SQL_FN_TD_DAYOFWEEK

#define SQL_FN_TD_DAYOFWEEK 0x00000008L

SQL_FN_TD_DAYOFYEAR

#define SQL_FN_TD_DAYOFYEAR 0x00000010L

SQL_FN_TD_EXTRACT

#define SQL_FN_TD_EXTRACT 0x00100000L

SQL_FN_TD_HOUR

#define SQL_FN_TD_HOUR 0x00000400L

SQL_FN_TD_MINUTE

#define SQL_FN_TD_MINUTE 0x00000800L

SQL_FN_TD_MONTH

#define SQL_FN_TD_MONTH 0x00000020L

SQL_FN_TD_MONTHNAME

#define SQL_FN_TD_MONTHNAME 0x00010000L

SQL_FN_TD_NOW

#define SQL_FN_TD_NOW 0x00000001L

SQL_FN_TD_QUARTER

#define SQL_FN_TD_QUARTER 0x00000040L

SQL_FN_TD_SECOND

#define SQL_FN_TD_SECOND 0x00001000L

SQL_FN_TD_TIMESTAMPADD

#define SQL_FN_TD_TIMESTAMPADD 0x00002000L

SQL_FN_TD_TIMESTAMPDIFF

#define SQL_FN_TD_TIMESTAMPDIFF 0x00004000L

SQL_FN_TD_WEEK

#define SQL_FN_TD_WEEK 0x00000080L

SQL_FN_TD_YEAR

#define SQL_FN_TD_YEAR 0x00000100L

SQL_FN_TSI_DAY

#define SQL_FN_TSI_DAY 0x00000010L

SQL_FN_TSI_FRAC_SECOND

#define SQL_FN_TSI_FRAC_SECOND 0x00000001L

SQL_FN_TSI_HOUR

#define SQL_FN_TSI_HOUR 0x00000008L

SQL_FN_TSI_MINUTE

#define SQL_FN_TSI_MINUTE 0x00000004L

SQL_FN_TSI_MONTH

#define SQL_FN_TSI_MONTH 0x00000040L

SQL_FN_TSI_QUARTER

#define SQL_FN_TSI_QUARTER 0x00000080L

SQL_FN_TSI_SECOND

#define SQL_FN_TSI_SECOND 0x00000002L

SQL_FN_TSI_WEEK

#define SQL_FN_TSI_WEEK 0x00000020L

SQL_FN_TSI_YEAR

#define SQL_FN_TSI_YEAR 0x00000100L

SQL_FORWARD_ONLY_CURSOR_ATTRIBUTES1

#define SQL_FORWARD_ONLY_CURSOR_ATTRIBUTES1 146

SQL_FORWARD_ONLY_CURSOR_ATTRIBUTES2

#define SQL_FORWARD_ONLY_CURSOR_ATTRIBUTES2 147

SQL_FUNC_EXISTS

#define SQL_FUNC_EXISTS ( pfExists,
uwAPI
)
Value:
((*(((UWORD *) (pfExists)) + ((uwAPI) >> 4)) & (1 << ((uwAPI) &0x000F))) \
? SQL_TRUE \

SQL_GB_COLLATE

#define SQL_GB_COLLATE 0x0004

SQL_GB_GROUP_BY_CONTAINS_SELECT

#define SQL_GB_GROUP_BY_CONTAINS_SELECT 0x0002

SQL_GB_GROUP_BY_EQUALS_SELECT

#define SQL_GB_GROUP_BY_EQUALS_SELECT 0x0001

SQL_GB_NO_RELATION

#define SQL_GB_NO_RELATION 0x0003

SQL_GB_NOT_SUPPORTED

#define SQL_GB_NOT_SUPPORTED 0x0000

SQL_GD_BLOCK

#define SQL_GD_BLOCK 0x00000004L

SQL_GD_BOUND

#define SQL_GD_BOUND 0x00000008L

SQL_GET_BOOKMARK

#define SQL_GET_BOOKMARK 13

SQL_GROUP_BY

#define SQL_GROUP_BY 88

SQL_GUID

#define SQL_GUID (-11)

SQL_HANDLE_SENV

#define SQL_HANDLE_SENV 5

SQL_IGNORE

#define SQL_IGNORE (-6)

SQL_IK_ALL

#define SQL_IK_ALL (SQL_IK_ASC | SQL_IK_DESC)

SQL_IK_ASC

#define SQL_IK_ASC 0x00000001L

SQL_IK_DESC

#define SQL_IK_DESC 0x00000002L

SQL_IK_NONE

#define SQL_IK_NONE 0x00000000L

SQL_INDEX_KEYWORDS

#define SQL_INDEX_KEYWORDS 148

SQL_INFO_FIRST

#define SQL_INFO_FIRST 0

SQL_INFO_SCHEMA_VIEWS

#define SQL_INFO_SCHEMA_VIEWS 149

SQL_INITIALLY_DEFERRED

#define SQL_INITIALLY_DEFERRED 5

SQL_INITIALLY_IMMEDIATE

#define SQL_INITIALLY_IMMEDIATE 6

SQL_INSERT_STATEMENT

#define SQL_INSERT_STATEMENT 172

SQL_INTERVAL

#define SQL_INTERVAL 10

SQL_INTERVAL_DAY

#define SQL_INTERVAL_DAY (100 + SQL_CODE_DAY)

SQL_INTERVAL_DAY_TO_HOUR

#define SQL_INTERVAL_DAY_TO_HOUR (100 + SQL_CODE_DAY_TO_HOUR)

SQL_INTERVAL_DAY_TO_MINUTE

#define SQL_INTERVAL_DAY_TO_MINUTE (100 + SQL_CODE_DAY_TO_MINUTE)

SQL_INTERVAL_DAY_TO_SECOND

#define SQL_INTERVAL_DAY_TO_SECOND (100 + SQL_CODE_DAY_TO_SECOND)

SQL_INTERVAL_HOUR

#define SQL_INTERVAL_HOUR (100 + SQL_CODE_HOUR)

SQL_INTERVAL_HOUR_TO_MINUTE

#define SQL_INTERVAL_HOUR_TO_MINUTE (100 + SQL_CODE_HOUR_TO_MINUTE)

SQL_INTERVAL_HOUR_TO_SECOND

#define SQL_INTERVAL_HOUR_TO_SECOND (100 + SQL_CODE_HOUR_TO_SECOND)

SQL_INTERVAL_MINUTE

#define SQL_INTERVAL_MINUTE (100 + SQL_CODE_MINUTE)

SQL_INTERVAL_MINUTE_TO_SECOND

#define SQL_INTERVAL_MINUTE_TO_SECOND (100 + SQL_CODE_MINUTE_TO_SECOND)

SQL_INTERVAL_MONTH

#define SQL_INTERVAL_MONTH (100 + SQL_CODE_MONTH)

SQL_INTERVAL_SECOND

#define SQL_INTERVAL_SECOND (100 + SQL_CODE_SECOND)

SQL_INTERVAL_YEAR

#define SQL_INTERVAL_YEAR (100 + SQL_CODE_YEAR)

SQL_INTERVAL_YEAR_TO_MONTH

#define SQL_INTERVAL_YEAR_TO_MONTH (100 + SQL_CODE_YEAR_TO_MONTH)

SQL_IS_INSERT_LITERALS

#define SQL_IS_INSERT_LITERALS 0x00000001L

SQL_IS_INSERT_SEARCHED

#define SQL_IS_INSERT_SEARCHED 0x00000002L

SQL_IS_INTEGER

#define SQL_IS_INTEGER (-6)

SQL_IS_POINTER

#define SQL_IS_POINTER (-4)

SQL_IS_SELECT_INTO

#define SQL_IS_SELECT_INTO 0x00000004L

SQL_IS_SMALLINT

#define SQL_IS_SMALLINT (-8)

SQL_IS_UINTEGER

#define SQL_IS_UINTEGER (-5)

SQL_IS_USMALLINT

#define SQL_IS_USMALLINT (-7)

SQL_ISV_ASSERTIONS

#define SQL_ISV_ASSERTIONS 0x00000001L

SQL_ISV_CHARACTER_SETS

#define SQL_ISV_CHARACTER_SETS 0x00000002L

SQL_ISV_CHECK_CONSTRAINTS

#define SQL_ISV_CHECK_CONSTRAINTS 0x00000004L

SQL_ISV_COLLATIONS

#define SQL_ISV_COLLATIONS 0x00000008L

SQL_ISV_COLUMN_DOMAIN_USAGE

#define SQL_ISV_COLUMN_DOMAIN_USAGE 0x00000010L

SQL_ISV_COLUMN_PRIVILEGES

#define SQL_ISV_COLUMN_PRIVILEGES 0x00000020L

SQL_ISV_COLUMNS

#define SQL_ISV_COLUMNS 0x00000040L

SQL_ISV_CONSTRAINT_COLUMN_USAGE

#define SQL_ISV_CONSTRAINT_COLUMN_USAGE 0x00000080L

SQL_ISV_CONSTRAINT_TABLE_USAGE

#define SQL_ISV_CONSTRAINT_TABLE_USAGE 0x00000100L

SQL_ISV_DOMAIN_CONSTRAINTS

#define SQL_ISV_DOMAIN_CONSTRAINTS 0x00000200L

SQL_ISV_DOMAINS

#define SQL_ISV_DOMAINS 0x00000400L

SQL_ISV_KEY_COLUMN_USAGE

#define SQL_ISV_KEY_COLUMN_USAGE 0x00000800L

SQL_ISV_REFERENTIAL_CONSTRAINTS

#define SQL_ISV_REFERENTIAL_CONSTRAINTS 0x00001000L

SQL_ISV_SCHEMATA

#define SQL_ISV_SCHEMATA 0x00002000L

SQL_ISV_SQL_LANGUAGES

#define SQL_ISV_SQL_LANGUAGES 0x00004000L

SQL_ISV_TABLE_CONSTRAINTS

#define SQL_ISV_TABLE_CONSTRAINTS 0x00008000L

SQL_ISV_TABLE_PRIVILEGES

#define SQL_ISV_TABLE_PRIVILEGES 0x00010000L

SQL_ISV_TABLES

#define SQL_ISV_TABLES 0x00020000L

SQL_ISV_TRANSLATIONS

#define SQL_ISV_TRANSLATIONS 0x00040000L

SQL_ISV_USAGE_PRIVILEGES

#define SQL_ISV_USAGE_PRIVILEGES 0x00080000L

SQL_ISV_VIEW_COLUMN_USAGE

#define SQL_ISV_VIEW_COLUMN_USAGE 0x00100000L

SQL_ISV_VIEW_TABLE_USAGE

#define SQL_ISV_VIEW_TABLE_USAGE 0x00200000L

SQL_ISV_VIEWS

#define SQL_ISV_VIEWS 0x00400000L

SQL_KEYSET_CURSOR_ATTRIBUTES1

#define SQL_KEYSET_CURSOR_ATTRIBUTES1 150

SQL_KEYSET_CURSOR_ATTRIBUTES2

#define SQL_KEYSET_CURSOR_ATTRIBUTES2 151

SQL_KEYSET_SIZE

#define SQL_KEYSET_SIZE 8

SQL_KEYSET_SIZE_DEFAULT

#define SQL_KEYSET_SIZE_DEFAULT 0

SQL_KEYWORDS

#define SQL_KEYWORDS 89

SQL_LCK_EXCLUSIVE

#define SQL_LCK_EXCLUSIVE 0x00000002L

SQL_LCK_NO_CHANGE

#define SQL_LCK_NO_CHANGE 0x00000001L

SQL_LCK_UNLOCK

#define SQL_LCK_UNLOCK 0x00000004L

SQL_LEN_BINARY_ATTR

#define SQL_LEN_BINARY_ATTR ( length ) (-(length) + SQL_LEN_BINARY_ATTR_OFFSET)

SQL_LEN_BINARY_ATTR_OFFSET

#define SQL_LEN_BINARY_ATTR_OFFSET (-100)

SQL_LEN_DATA_AT_EXEC

#define SQL_LEN_DATA_AT_EXEC ( length ) (-(length) + SQL_LEN_DATA_AT_EXEC_OFFSET)

SQL_LEN_DATA_AT_EXEC_OFFSET

#define SQL_LEN_DATA_AT_EXEC_OFFSET (-100)

SQL_LIKE_ESCAPE_CLAUSE

#define SQL_LIKE_ESCAPE_CLAUSE 113

SQL_LIKE_ONLY

#define SQL_LIKE_ONLY 1

SQL_LOCK_EXCLUSIVE

#define SQL_LOCK_EXCLUSIVE 1 /* 1.0 TRUE */

SQL_LOCK_NO_CHANGE

#define SQL_LOCK_NO_CHANGE 0 /* 1.0 FALSE */

SQL_LOCK_RECORD

#define SQL_LOCK_RECORD ( hstmt,
irow,
fLock
) SQLSetPos (hstmt, irow, SQL_POSITION, fLock)

SQL_LOCK_TYPES

#define SQL_LOCK_TYPES 78

SQL_LOCK_UNLOCK

#define SQL_LOCK_UNLOCK 2

SQL_LOGIN_TIMEOUT

#define SQL_LOGIN_TIMEOUT 103

SQL_LOGIN_TIMEOUT_DEFAULT

#define SQL_LOGIN_TIMEOUT_DEFAULT 15

SQL_LONGVARBINARY

#define SQL_LONGVARBINARY (-4)

SQL_LONGVARCHAR

#define SQL_LONGVARCHAR (-1)

SQL_MAX_ASYNC_CONCURRENT_STATEMENTS

#define SQL_MAX_ASYNC_CONCURRENT_STATEMENTS 10022 /* new X/Open spec */

SQL_MAX_BINARY_LITERAL_LEN

#define SQL_MAX_BINARY_LITERAL_LEN 112

SQL_MAX_CHAR_LITERAL_LEN

#define SQL_MAX_CHAR_LITERAL_LEN 108

SQL_MAX_DSN_LENGTH

#define SQL_MAX_DSN_LENGTH 32 /* maximum data source name size */

SQL_MAX_LENGTH

#define SQL_MAX_LENGTH 3

SQL_MAX_LENGTH_DEFAULT

#define SQL_MAX_LENGTH_DEFAULT 0

SQL_MAX_OPTION_STRING_LENGTH

#define SQL_MAX_OPTION_STRING_LENGTH 256

SQL_MAX_OWNER_NAME_LEN

#define SQL_MAX_OWNER_NAME_LEN 32 /* MAX_SCHEMA_NAME_LEN */

SQL_MAX_PROCEDURE_NAME_LEN

#define SQL_MAX_PROCEDURE_NAME_LEN 33

SQL_MAX_QUALIFIER_NAME_LEN

#define SQL_MAX_QUALIFIER_NAME_LEN 34 /* MAX_CATALOG_NAME_LEN */

SQL_MAX_ROW_SIZE_INCLUDES_LONG

#define SQL_MAX_ROW_SIZE_INCLUDES_LONG 103

SQL_MAX_ROWS

#define SQL_MAX_ROWS 1

SQL_MAX_ROWS_DEFAULT

#define SQL_MAX_ROWS_DEFAULT 0

SQL_MODE_DEFAULT

#define SQL_MODE_DEFAULT SQL_MODE_READ_WRITE

SQL_MODE_READ_ONLY

#define SQL_MODE_READ_ONLY 1

SQL_MODE_READ_WRITE

#define SQL_MODE_READ_WRITE 0

SQL_MULT_RESULT_SETS

#define SQL_MULT_RESULT_SETS 36

SQL_MULTIPLE_ACTIVE_TXN

#define SQL_MULTIPLE_ACTIVE_TXN 37

SQL_NC_END

#define SQL_NC_END 0x0004

SQL_NC_START

#define SQL_NC_START 0x0002

SQL_NEED_LONG_DATA_LEN

#define SQL_NEED_LONG_DATA_LEN 111

SQL_NNC_NON_NULL

#define SQL_NNC_NON_NULL 0x0001

SQL_NNC_NULL

#define SQL_NNC_NULL 0x0000

SQL_NO_ACTION

#define SQL_NO_ACTION 3

SQL_NO_COLUMN_NUMBER

#define SQL_NO_COLUMN_NUMBER (-1)

SQL_NO_DATA_FOUND

#define SQL_NO_DATA_FOUND SQL_NO_DATA

SQL_NO_ROW_NUMBER

#define SQL_NO_ROW_NUMBER (-1)

SQL_NO_TOTAL

#define SQL_NO_TOTAL (-4)

SQL_NON_NULLABLE_COLUMNS

#define SQL_NON_NULLABLE_COLUMNS 75

SQL_NOSCAN

#define SQL_NOSCAN 2

SQL_NOSCAN_DEFAULT

#define SQL_NOSCAN_DEFAULT SQL_NOSCAN_OFF

SQL_NOSCAN_OFF

#define SQL_NOSCAN_OFF 0

SQL_NOSCAN_ON

#define SQL_NOSCAN_ON 1

SQL_NOT_DEFERRABLE

#define SQL_NOT_DEFERRABLE 7

SQL_NUMERIC_FUNCTIONS

#define SQL_NUMERIC_FUNCTIONS 49

SQL_OAC_LEVEL1

#define SQL_OAC_LEVEL1 0x0001

SQL_OAC_LEVEL2

#define SQL_OAC_LEVEL2 0x0002

SQL_OAC_NONE

#define SQL_OAC_NONE 0x0000

SQL_ODBC_API_CONFORMANCE

#define SQL_ODBC_API_CONFORMANCE 9

SQL_ODBC_CURSORS

#define SQL_ODBC_CURSORS 110

SQL_ODBC_INTERFACE_CONFORMANCE

#define SQL_ODBC_INTERFACE_CONFORMANCE 152

SQL_ODBC_SAG_CLI_CONFORMANCE

#define SQL_ODBC_SAG_CLI_CONFORMANCE 12

SQL_ODBC_SQL_CONFORMANCE

#define SQL_ODBC_SQL_CONFORMANCE 15

SQL_ODBC_SQL_OPT_IEF

#define SQL_ODBC_SQL_OPT_IEF 73 /* SQL_INTEGRITY */

SQL_ODBC_VER

#define SQL_ODBC_VER 10

SQL_OIC_CORE

#define SQL_OIC_CORE 1

SQL_OIC_LEVEL1

#define SQL_OIC_LEVEL1 2

SQL_OIC_LEVEL2

#define SQL_OIC_LEVEL2 3

SQL_OPT_TRACE

#define SQL_OPT_TRACE 104

SQL_OPT_TRACE_DEFAULT

#define SQL_OPT_TRACE_DEFAULT SQL_OPT_TRACE_OFF

SQL_OPT_TRACE_FILE_DEFAULT

#define SQL_OPT_TRACE_FILE_DEFAULT "\\SQL.LOG"

SQL_OPT_TRACE_OFF

#define SQL_OPT_TRACE_OFF 0

SQL_OPT_TRACE_ON

#define SQL_OPT_TRACE_ON 1

SQL_OPT_TRACEFILE

#define SQL_OPT_TRACEFILE 105

SQL_OSC_CORE

#define SQL_OSC_CORE 0x0001

SQL_OSC_EXTENDED

#define SQL_OSC_EXTENDED 0x0002

SQL_OSC_MINIMUM

#define SQL_OSC_MINIMUM 0x0000

SQL_OSCC_COMPLIANT

#define SQL_OSCC_COMPLIANT 0x0001

SQL_OSCC_NOT_COMPLIANT

#define SQL_OSCC_NOT_COMPLIANT 0x0000

SQL_OU_DML_STATEMENTS

#define SQL_OU_DML_STATEMENTS 0x00000001L

SQL_OU_INDEX_DEFINITION

#define SQL_OU_INDEX_DEFINITION 0x00000008L

SQL_OU_PRIVILEGE_DEFINITION

#define SQL_OU_PRIVILEGE_DEFINITION 0x00000010L

SQL_OU_PROCEDURE_INVOCATION

#define SQL_OU_PROCEDURE_INVOCATION 0x00000002L

SQL_OU_TABLE_DEFINITION

#define SQL_OU_TABLE_DEFINITION 0x00000004L

SQL_OUTER_JOINS

#define SQL_OUTER_JOINS 38

SQL_OV_ODBC2

#define SQL_OV_ODBC2 2

SQL_OV_ODBC3

#define SQL_OV_ODBC3 3

SQL_OWNER_TERM

#define SQL_OWNER_TERM 39

SQL_OWNER_USAGE

#define SQL_OWNER_USAGE 91

SQL_PACKET_SIZE

#define SQL_PACKET_SIZE 112

SQL_PARAM_ARRAY_ROW_COUNTS

#define SQL_PARAM_ARRAY_ROW_COUNTS 153

SQL_PARAM_ARRAY_SELECTS

#define SQL_PARAM_ARRAY_SELECTS 154

SQL_PARAM_BIND_BY_COLUMN

#define SQL_PARAM_BIND_BY_COLUMN 0

SQL_PARAM_BIND_TYPE_DEFAULT

#define SQL_PARAM_BIND_TYPE_DEFAULT SQL_PARAM_BIND_BY_COLUMN

SQL_PARAM_DIAG_UNAVAILABLE

#define SQL_PARAM_DIAG_UNAVAILABLE 1

SQL_PARAM_ERROR

#define SQL_PARAM_ERROR 5

SQL_PARAM_IGNORE

#define SQL_PARAM_IGNORE 1

SQL_PARAM_INPUT

#define SQL_PARAM_INPUT 1

SQL_PARAM_INPUT_OUTPUT

#define SQL_PARAM_INPUT_OUTPUT 2

SQL_PARAM_OUTPUT

#define SQL_PARAM_OUTPUT 4

SQL_PARAM_PROCEED

#define SQL_PARAM_PROCEED 0

SQL_PARAM_SUCCESS

#define SQL_PARAM_SUCCESS 0

SQL_PARAM_SUCCESS_WITH_INFO

#define SQL_PARAM_SUCCESS_WITH_INFO 6

SQL_PARAM_TYPE_DEFAULT

#define SQL_PARAM_TYPE_DEFAULT SQL_PARAM_INPUT_OUTPUT

SQL_PARAM_TYPE_UNKNOWN

#define SQL_PARAM_TYPE_UNKNOWN 0

SQL_PARAM_UNUSED

#define SQL_PARAM_UNUSED 7

SQL_PARC_BATCH

#define SQL_PARC_BATCH 1

SQL_PARC_NO_BATCH

#define SQL_PARC_NO_BATCH 2

SQL_PAS_BATCH

#define SQL_PAS_BATCH 1

SQL_PAS_NO_BATCH

#define SQL_PAS_NO_BATCH 2

SQL_PAS_NO_SELECT

#define SQL_PAS_NO_SELECT 3

SQL_PC_NOT_PSEUDO

#define SQL_PC_NOT_PSEUDO 1

SQL_POS_ADD

#define SQL_POS_ADD 0x00000010L

SQL_POS_DELETE

#define SQL_POS_DELETE 0x00000008L

SQL_POS_OPERATIONS

#define SQL_POS_OPERATIONS 79

SQL_POS_POSITION

#define SQL_POS_POSITION 0x00000001L

SQL_POS_REFRESH

#define SQL_POS_REFRESH 0x00000002L

SQL_POS_UPDATE

#define SQL_POS_UPDATE 0x00000004L

SQL_POSITION

#define SQL_POSITION 0

SQL_POSITION_TO

#define SQL_POSITION_TO ( hstmt,
irow
) SQLSetPos (hstmt, irow, SQL_POSITION, SQL_LOCK_NO_CHANGE)

SQL_POSITIONED_STATEMENTS

#define SQL_POSITIONED_STATEMENTS 80

SQL_PRED_SEARCHABLE

#define SQL_PRED_SEARCHABLE SQL_SEARCHABLE

SQL_PROCEDURE_TERM

#define SQL_PROCEDURE_TERM 40

SQL_PROCEDURES

#define SQL_PROCEDURES 21

SQL_PS_POSITIONED_DELETE

#define SQL_PS_POSITIONED_DELETE 0x00000001L

SQL_PS_POSITIONED_UPDATE

#define SQL_PS_POSITIONED_UPDATE 0x00000002L

SQL_PS_SELECT_FOR_UPDATE

#define SQL_PS_SELECT_FOR_UPDATE 0x00000004L

SQL_PT_FUNCTION

#define SQL_PT_FUNCTION 2

SQL_PT_PROCEDURE

#define SQL_PT_PROCEDURE 1

SQL_PT_UNKNOWN

#define SQL_PT_UNKNOWN 0

SQL_QL_END

#define SQL_QL_END 0x0002

SQL_QL_START

#define SQL_QL_START 0x0001

SQL_QU_DML_STATEMENTS

#define SQL_QU_DML_STATEMENTS 0x00000001L

SQL_QU_INDEX_DEFINITION

#define SQL_QU_INDEX_DEFINITION 0x00000008L

SQL_QU_PRIVILEGE_DEFINITION

#define SQL_QU_PRIVILEGE_DEFINITION 0x00000010L

SQL_QU_PROCEDURE_INVOCATION

#define SQL_QU_PROCEDURE_INVOCATION 0x00000002L

SQL_QU_TABLE_DEFINITION

#define SQL_QU_TABLE_DEFINITION 0x00000004L

SQL_QUALIFIER_LOCATION

#define SQL_QUALIFIER_LOCATION 114

SQL_QUALIFIER_NAME_SEPARATOR

#define SQL_QUALIFIER_NAME_SEPARATOR 41

SQL_QUALIFIER_TERM

#define SQL_QUALIFIER_TERM 42

SQL_QUALIFIER_USAGE

#define SQL_QUALIFIER_USAGE 92

SQL_QUERY_TIMEOUT

#define SQL_QUERY_TIMEOUT 0

SQL_QUERY_TIMEOUT_DEFAUL

#define SQL_QUERY_TIMEOUT_DEFAUL 0

SQL_QUICK

#define SQL_QUICK 0

SQL_QUIET_MODE

#define SQL_QUIET_MODE 111

SQL_QUOTED_IDENTIFIER_CASE

#define SQL_QUOTED_IDENTIFIER_CASE 93

SQL_RD_DEFAULT

#define SQL_RD_DEFAULT SQL_RD_ON

SQL_RD_OFF

#define SQL_RD_OFF 0

SQL_RD_ON

#define SQL_RD_ON 1

SQL_REFRESH

#define SQL_REFRESH 1

SQL_REFRESH_RECORD

#define SQL_REFRESH_RECORD ( hstmt,
irow,
fLock
) SQLSetPos (hstmt, irow, SQL_REFRESH, fLock)

SQL_RESTRICT

#define SQL_RESTRICT 1

SQL_RESULT_COL

#define SQL_RESULT_COL 3

SQL_RETRIEVE_DATA

#define SQL_RETRIEVE_DATA 11

SQL_RETURN_VALUE

#define SQL_RETURN_VALUE 5

SQL_ROW_ADDED

#define SQL_ROW_ADDED 4

SQL_ROW_DELETED

#define SQL_ROW_DELETED 1

SQL_ROW_ERROR

#define SQL_ROW_ERROR 5

SQL_ROW_IGNORE

#define SQL_ROW_IGNORE 1

SQL_ROW_NOROW

#define SQL_ROW_NOROW 3

SQL_ROW_NUMBER

#define SQL_ROW_NUMBER 14

SQL_ROW_NUMBER_UNKNOWN

#define SQL_ROW_NUMBER_UNKNOWN (-2)

SQL_ROW_PROCEED

#define SQL_ROW_PROCEED 0

SQL_ROW_SUCCESS

#define SQL_ROW_SUCCESS 0

SQL_ROW_SUCCESS_WITH_INFO

#define SQL_ROW_SUCCESS_WITH_INFO 6

SQL_ROW_UPDATED

#define SQL_ROW_UPDATED 2

SQL_ROW_UPDATES

#define SQL_ROW_UPDATES 11

SQL_ROWSET_SIZE

#define SQL_ROWSET_SIZE 9

SQL_ROWSET_SIZE_DEFAULT

#define SQL_ROWSET_SIZE_DEFAULT 1

SQL_ROWVER

#define SQL_ROWVER 2

SQL_SC_FIPS127_2_TRANSITIONAL

#define SQL_SC_FIPS127_2_TRANSITIONAL 0x00000002L

SQL_SC_NON_UNIQUE

#define SQL_SC_NON_UNIQUE 0

SQL_SC_SQL92_ENTRY

#define SQL_SC_SQL92_ENTRY 0x00000001L

SQL_SC_SQL92_FULL

#define SQL_SC_SQL92_FULL 0x00000008L

SQL_SC_SQL92_INTERMEDIATE

#define SQL_SC_SQL92_INTERMEDIATE 0x00000004L

SQL_SC_TRY_UNIQUE

#define SQL_SC_TRY_UNIQUE 1

SQL_SC_UNIQUE

#define SQL_SC_UNIQUE 2

SQL_SCC_ISO92_CLI

#define SQL_SCC_ISO92_CLI 0x00000002L

SQL_SCC_XOPEN_CLI_VERSION1

#define SQL_SCC_XOPEN_CLI_VERSION1 0x00000001L

SQL_SCHEMA_TERM

#define SQL_SCHEMA_TERM SQL_OWNER_TERM

SQL_SCHEMA_USAGE

#define SQL_SCHEMA_USAGE SQL_OWNER_USAGE

SQL_SCROLL_OPTIONS

#define SQL_SCROLL_OPTIONS 44

SQL_SDF_CURRENT_DATE

#define SQL_SDF_CURRENT_DATE 0x00000001L

SQL_SDF_CURRENT_TIME

#define SQL_SDF_CURRENT_TIME 0x00000002L

SQL_SDF_CURRENT_TIMESTAMP

#define SQL_SDF_CURRENT_TIMESTAMP 0x00000004L

SQL_SEARCHABLE

#define SQL_SEARCHABLE 3

SQL_SET_DEFAULT

#define SQL_SET_DEFAULT 4

SQL_SET_NULL

#define SQL_SET_NULL 2

SQL_SETPARAM_VALUE_MAX

#define SQL_SETPARAM_VALUE_MAX (-1L)

SQL_SETPOS_MAX_LOCK_VALUE

#define SQL_SETPOS_MAX_LOCK_VALUE SQL_LOCK_UNLOCK

SQL_SETPOS_MAX_OPTION_VALUE

#define SQL_SETPOS_MAX_OPTION_VALUE SQL_ADD

SQL_SFKD_CASCADE

#define SQL_SFKD_CASCADE 0x00000001L

SQL_SFKD_NO_ACTION

#define SQL_SFKD_NO_ACTION 0x00000002L

SQL_SFKD_SET_DEFAULT

#define SQL_SFKD_SET_DEFAULT 0x00000004L

SQL_SFKD_SET_NULL

#define SQL_SFKD_SET_NULL 0x00000008L

SQL_SFKU_CASCADE

#define SQL_SFKU_CASCADE 0x00000001L

SQL_SFKU_NO_ACTION

#define SQL_SFKU_NO_ACTION 0x00000002L

SQL_SFKU_SET_DEFAULT

#define SQL_SFKU_SET_DEFAULT 0x00000004L

SQL_SFKU_SET_NULL

#define SQL_SFKU_SET_NULL 0x00000008L

SQL_SG_DELETE_TABLE

#define SQL_SG_DELETE_TABLE 0x00000020L

SQL_SG_INSERT_COLUMN

#define SQL_SG_INSERT_COLUMN 0x00000080L

SQL_SG_INSERT_TABLE

#define SQL_SG_INSERT_TABLE 0x00000040L

SQL_SG_REFERENCES_COLUMN

#define SQL_SG_REFERENCES_COLUMN 0x00000200L

SQL_SG_REFERENCES_TABLE

#define SQL_SG_REFERENCES_TABLE 0x00000100L

SQL_SG_SELECT_TABLE

#define SQL_SG_SELECT_TABLE 0x00000400L

SQL_SG_UPDATE_COLUMN

#define SQL_SG_UPDATE_COLUMN 0x00001000L

SQL_SG_UPDATE_TABLE

#define SQL_SG_UPDATE_TABLE 0x00000800L

SQL_SG_USAGE_ON_CHARACTER_SET

#define SQL_SG_USAGE_ON_CHARACTER_SET 0x00000002L

SQL_SG_USAGE_ON_COLLATION

#define SQL_SG_USAGE_ON_COLLATION 0x00000004L

SQL_SG_USAGE_ON_DOMAIN

#define SQL_SG_USAGE_ON_DOMAIN 0x00000001L

SQL_SG_USAGE_ON_TRANSLATION

#define SQL_SG_USAGE_ON_TRANSLATION 0x00000008L

SQL_SG_WITH_GRANT_OPTION

#define SQL_SG_WITH_GRANT_OPTION 0x00000010L

SQL_SIGNED_OFFSET

#define SQL_SIGNED_OFFSET (-20)

SQL_SIMULATE_CURSOR

#define SQL_SIMULATE_CURSOR 10

SQL_SNVF_BIT_LENGTH

#define SQL_SNVF_BIT_LENGTH 0x00000001L

SQL_SNVF_CHAR_LENGTH

#define SQL_SNVF_CHAR_LENGTH 0x00000002L

SQL_SNVF_CHARACTER_LENGTH

#define SQL_SNVF_CHARACTER_LENGTH 0x00000004L

SQL_SNVF_EXTRACT

#define SQL_SNVF_EXTRACT 0x00000008L

SQL_SNVF_OCTET_LENGTH

#define SQL_SNVF_OCTET_LENGTH 0x00000010L

SQL_SNVF_POSITION

#define SQL_SNVF_POSITION 0x00000020L

SQL_SO_DYNAMIC

#define SQL_SO_DYNAMIC 0x00000004L

SQL_SO_FORWARD_ONLY

#define SQL_SO_FORWARD_ONLY 0x00000001L

SQL_SO_KEYSET_DRIVEN

#define SQL_SO_KEYSET_DRIVEN 0x00000002L

SQL_SO_MIXED

#define SQL_SO_MIXED 0x00000008L

SQL_SO_STATIC

#define SQL_SO_STATIC 0x00000010L

SQL_SP_BETWEEN

#define SQL_SP_BETWEEN 0x00000800L

SQL_SP_COMPARISON

#define SQL_SP_COMPARISON 0x00001000L

SQL_SP_EXISTS

#define SQL_SP_EXISTS 0x00000001L

SQL_SP_IN

#define SQL_SP_IN 0x00000400L

SQL_SP_ISNOTNULL

#define SQL_SP_ISNOTNULL 0x00000002L

SQL_SP_ISNULL

#define SQL_SP_ISNULL 0x00000004L

SQL_SP_LIKE

#define SQL_SP_LIKE 0x00000200L

SQL_SP_MATCH_FULL

#define SQL_SP_MATCH_FULL 0x00000008L

SQL_SP_MATCH_PARTIAL

#define SQL_SP_MATCH_PARTIAL 0x00000010L

SQL_SP_MATCH_UNIQUE_FULL

#define SQL_SP_MATCH_UNIQUE_FULL 0x00000020L

SQL_SP_MATCH_UNIQUE_PARTIAL

#define SQL_SP_MATCH_UNIQUE_PARTIAL 0x00000040L

SQL_SP_OVERLAPS

#define SQL_SP_OVERLAPS 0x00000080L

SQL_SP_QUANTIFIED_COMPARISON

#define SQL_SP_QUANTIFIED_COMPARISON 0x00002000L

SQL_SP_UNIQUE

#define SQL_SP_UNIQUE 0x00000100L

SQL_SPEC_MAJOR

#define SQL_SPEC_MAJOR 3 /* Major version of specification */

SQL_SPEC_MINOR

#define SQL_SPEC_MINOR 52 /* Minor version of specification */

SQL_SPEC_STRING

#define SQL_SPEC_STRING "03.52" /* String constant for version */

SQL_SQ_COMPARISON

#define SQL_SQ_COMPARISON 0x00000001L

SQL_SQ_CORRELATED_SUBQUERIES

#define SQL_SQ_CORRELATED_SUBQUERIES 0x00000010L

SQL_SQ_EXISTS

#define SQL_SQ_EXISTS 0x00000002L

SQL_SQ_IN

#define SQL_SQ_IN 0x00000004L

SQL_SQ_QUANTIFIED

#define SQL_SQ_QUANTIFIED 0x00000008L

SQL_SQL92_DATETIME_FUNCTIONS

#define SQL_SQL92_DATETIME_FUNCTIONS 155

SQL_SQL92_FOREIGN_KEY_DELETE_RULE

#define SQL_SQL92_FOREIGN_KEY_DELETE_RULE 156

SQL_SQL92_FOREIGN_KEY_UPDATE_RULE

#define SQL_SQL92_FOREIGN_KEY_UPDATE_RULE 157

SQL_SQL92_GRANT

#define SQL_SQL92_GRANT 158

SQL_SQL92_NUMERIC_VALUE_FUNCTIONS

#define SQL_SQL92_NUMERIC_VALUE_FUNCTIONS 159

SQL_SQL92_PREDICATES

#define SQL_SQL92_PREDICATES 160

SQL_SQL92_RELATIONAL_JOIN_OPERATORS

#define SQL_SQL92_RELATIONAL_JOIN_OPERATORS 161

SQL_SQL92_REVOKE

#define SQL_SQL92_REVOKE 162

SQL_SQL92_ROW_VALUE_CONSTRUCTOR

#define SQL_SQL92_ROW_VALUE_CONSTRUCTOR 163

SQL_SQL92_STRING_FUNCTIONS

#define SQL_SQL92_STRING_FUNCTIONS 164

SQL_SQL92_VALUE_EXPRESSIONS

#define SQL_SQL92_VALUE_EXPRESSIONS 165

SQL_SQL_CONFORMANCE

#define SQL_SQL_CONFORMANCE 118

SQL_SQLSTATE_SIZE

#define SQL_SQLSTATE_SIZE 5 /* size of SQLSTATE */

SQL_SR_CASCADE

#define SQL_SR_CASCADE 0x00000020L

SQL_SR_DELETE_TABLE

#define SQL_SR_DELETE_TABLE 0x00000080L

SQL_SR_GRANT_OPTION_FOR

#define SQL_SR_GRANT_OPTION_FOR 0x00000010L

SQL_SR_INSERT_COLUMN

#define SQL_SR_INSERT_COLUMN 0x00000200L

SQL_SR_INSERT_TABLE

#define SQL_SR_INSERT_TABLE 0x00000100L

SQL_SR_REFERENCES_COLUM

#define SQL_SR_REFERENCES_COLUM 0x00000800L

SQL_SR_REFERENCES_TABLE

#define SQL_SR_REFERENCES_TABLE 0x00000400L

SQL_SR_RESTRICT

#define SQL_SR_RESTRICT 0x00000040L

SQL_SR_SELECT_TABLE

#define SQL_SR_SELECT_TABLE 0x00001000L

SQL_SR_UPDATE_COLUMN

#define SQL_SR_UPDATE_COLUMN 0x00004000L

SQL_SR_UPDATE_TABLE

#define SQL_SR_UPDATE_TABLE 0x00002000L

SQL_SR_USAGE_ON_CHARACTER_SET

#define SQL_SR_USAGE_ON_CHARACTER_SET 0x00000002L

SQL_SR_USAGE_ON_COLLATION

#define SQL_SR_USAGE_ON_COLLATION 0x00000004L

SQL_SR_USAGE_ON_DOMAIN

#define SQL_SR_USAGE_ON_DOMAIN 0x00000001L

SQL_SR_USAGE_ON_TRANSLATION

#define SQL_SR_USAGE_ON_TRANSLATION 0x00000008L

SQL_SRJO_CORRESPONDING_CLAUSE

#define SQL_SRJO_CORRESPONDING_CLAUSE 0x00000001L

SQL_SRJO_CROSS_JOIN

#define SQL_SRJO_CROSS_JOIN 0x00000002L

SQL_SRJO_EXCEPT_JOIN

#define SQL_SRJO_EXCEPT_JOIN 0x00000004L

SQL_SRJO_FULL_OUTER_JOIN

#define SQL_SRJO_FULL_OUTER_JOIN 0x00000008L

SQL_SRJO_INNER_JOIN

#define SQL_SRJO_INNER_JOIN 0x00000010L

SQL_SRJO_INTERSECT_JOIN

#define SQL_SRJO_INTERSECT_JOIN 0x00000020L

SQL_SRJO_LEFT_OUTER_JOIN

#define SQL_SRJO_LEFT_OUTER_JOIN 0x00000040L

SQL_SRJO_NATURAL_JOIN

#define SQL_SRJO_NATURAL_JOIN 0x00000080L

SQL_SRJO_RIGHT_OUTER_JOIN

#define SQL_SRJO_RIGHT_OUTER_JOIN 0x00000100L

SQL_SRJO_UNION_JOIN

#define SQL_SRJO_UNION_JOIN 0x00000200L

SQL_SRVC_DEFAULT

#define SQL_SRVC_DEFAULT 0x00000004L

SQL_SRVC_NULL

#define SQL_SRVC_NULL 0x00000002L

SQL_SRVC_ROW_SUBQUERY

#define SQL_SRVC_ROW_SUBQUERY 0x00000008L

SQL_SRVC_VALUE_EXPRESSION

#define SQL_SRVC_VALUE_EXPRESSION 0x00000001L

SQL_SS_ADDITIONS

#define SQL_SS_ADDITIONS 0x00000001L

SQL_SS_DELETIONS

#define SQL_SS_DELETIONS 0x00000002L

SQL_SS_UPDATES

#define SQL_SS_UPDATES 0x00000004L

SQL_SSF_CONVERT

#define SQL_SSF_CONVERT 0x00000001L

SQL_SSF_LOWER

#define SQL_SSF_LOWER 0x00000002L

SQL_SSF_SUBSTRING

#define SQL_SSF_SUBSTRING 0x00000008L

SQL_SSF_TRANSLATE

#define SQL_SSF_TRANSLATE 0x00000010L

SQL_SSF_TRIM_BOTH

#define SQL_SSF_TRIM_BOTH 0x00000020L

SQL_SSF_TRIM_LEADING

#define SQL_SSF_TRIM_LEADING 0x00000040L

SQL_SSF_TRIM_TRAILING

#define SQL_SSF_TRIM_TRAILING 0x00000080L

SQL_SSF_UPPER

#define SQL_SSF_UPPER 0x00000004L

SQL_STANDARD_CLI_CONFORMANCE

#define SQL_STANDARD_CLI_CONFORMANCE 166

SQL_STATIC_CURSOR_ATTRIBUTES1

#define SQL_STATIC_CURSOR_ATTRIBUTES1 167

SQL_STATIC_CURSOR_ATTRIBUTES2

#define SQL_STATIC_CURSOR_ATTRIBUTES2 168

SQL_STATIC_SENSITIVITY

#define SQL_STATIC_SENSITIVITY 83

SQL_STMT_OPT_MAX

#define SQL_STMT_OPT_MAX SQL_ROW_NUMBER

SQL_STMT_OPT_MIN

#define SQL_STMT_OPT_MIN SQL_QUERY_TIMEOUT

SQL_STRING_FUNCTIONS

#define SQL_STRING_FUNCTIONS 50

SQL_SU_DML_STATEMENTS

#define SQL_SU_DML_STATEMENTS SQL_OU_DML_STATEMENTS

SQL_SU_INDEX_DEFINITION

#define SQL_SU_INDEX_DEFINITION SQL_OU_INDEX_DEFINITION

SQL_SU_PRIVILEGE_DEFINITION

#define SQL_SU_PRIVILEGE_DEFINITION SQL_OU_PRIVILEGE_DEFINITION

SQL_SU_PROCEDURE_INVOCATION

#define SQL_SU_PROCEDURE_INVOCATION SQL_OU_PROCEDURE_INVOCATION

SQL_SU_TABLE_DEFINITION

#define SQL_SU_TABLE_DEFINITION SQL_OU_TABLE_DEFINITION

SQL_SUBQUERIES

#define SQL_SUBQUERIES 95

SQL_SVE_CASE

#define SQL_SVE_CASE 0x00000001L

SQL_SVE_CAST

#define SQL_SVE_CAST 0x00000002L

SQL_SVE_COALESCE

#define SQL_SVE_COALESCE 0x00000004L

SQL_SVE_NULLIF

#define SQL_SVE_NULLIF 0x00000008L

SQL_SYSTEM_FUNCTIONS

#define SQL_SYSTEM_FUNCTIONS 51

SQL_TABLE_STAT

#define SQL_TABLE_STAT 0

SQL_TABLE_TERM

#define SQL_TABLE_TERM 45

SQL_TIME

#define SQL_TIME 10

SQL_TIMEDATE_ADD_INTERVALS

#define SQL_TIMEDATE_ADD_INTERVALS 109

SQL_TIMEDATE_DIFF_INTERVALS

#define SQL_TIMEDATE_DIFF_INTERVALS 110

SQL_TIMEDATE_FUNCTIONS

#define SQL_TIMEDATE_FUNCTIONS 52

SQL_TIMESTAMP

#define SQL_TIMESTAMP 11

SQL_TINYINT

#define SQL_TINYINT (-6)

SQL_TRANSLATE_DLL

#define SQL_TRANSLATE_DLL 106

SQL_TRANSLATE_OPTION

#define SQL_TRANSLATE_OPTION 107

SQL_TXN_ISOLATION

#define SQL_TXN_ISOLATION 108

SQL_TYPE_MAX

#define SQL_TYPE_MAX SQL_VARCHAR

SQL_TYPE_MIN

#define SQL_TYPE_MIN SQL_BIT

SQL_TYPE_NULL

#define SQL_TYPE_NULL 0

SQL_U_UNION

#define SQL_U_UNION 0x00000001L

SQL_U_UNION_ALL

#define SQL_U_UNION_ALL 0x00000002L

SQL_UB_DEFAULT

#define SQL_UB_DEFAULT SQL_UB_OFF

SQL_UB_FIXED

#define SQL_UB_FIXED SQL_UB_ON

SQL_UB_OFF

#define SQL_UB_OFF 0

SQL_UB_ON

#define SQL_UB_ON 1

SQL_UB_VARIABLE

#define SQL_UB_VARIABLE 2L

SQL_UNICODE

#define SQL_UNICODE SQL_WCHAR

SQL_UNICODE_CHAR

#define SQL_UNICODE_CHAR SQL_WCHAR

SQL_UNICODE_LONGVARCHAR

#define SQL_UNICODE_LONGVARCHAR SQL_WLONGVARCHAR

SQL_UNICODE_VARCHAR

#define SQL_UNICODE_VARCHAR SQL_WVARCHAR

SQL_UNION

#define SQL_UNION 96

SQL_UNION_STATEMENT

#define SQL_UNION_STATEMENT SQL_UNION

SQL_UNSEARCHABLE

#define SQL_UNSEARCHABLE 0

SQL_UNSIGNED_OFFSET

#define SQL_UNSIGNED_OFFSET (-22)

SQL_UPDATE

#define SQL_UPDATE 2

SQL_UPDATE_BY_BOOKMARK

#define SQL_UPDATE_BY_BOOKMARK 5

SQL_UPDATE_RECORD

#define SQL_UPDATE_RECORD ( hstmt,
irow
) SQLSetPos (hstmt, irow, SQL_UPDATE, SQL_LOCK_NO_CHANGE)

SQL_US_UNION

#define SQL_US_UNION SQL_U_UNION

SQL_US_UNION_ALL

#define SQL_US_UNION_ALL SQL_U_UNION_ALL

SQL_USE_BOOKMARKS

#define SQL_USE_BOOKMARKS 12

SQL_VARBINARY

#define SQL_VARBINARY (-3)
#define SQL_TRUE
Definition: sql.h:243
#define SQL_CA2_MAX_ROWS_INSERT
Definition: sqlext.h:1071
#define SQL_FALSE
Definition: sql.h:242
#define SQL_CA2_MAX_ROWS_SELECT
Definition: sqlext.h:1070
#define SQL_CA2_MAX_ROWS_UPDATE
Definition: sqlext.h:1073