include/sqlext.h File Reference

#include "sql.h"
#include "sqlucode.h"

Include dependency graph for sqlext.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  tagODBC_VS_ARGS

Defines

#define SQLTables_TABLE_CATALOG   1
#define SQLTables_TABLE_SCHEM   2
#define SQLTables_TABLE_NAME   3
#define SQLTables_TABLE_TYPE   4
#define SQLTables_REMARKS   5
#define SQLColumns_TABLE_CAT   1
#define SQLColumns_TABLE_SCHEM   2
#define SQLColumns_TABLE_NAME   3
#define SQLColumns_COLUMN_NAME   4
#define SQLColumns_DATA_TYPE   5
#define SQLColumns_TYPE_NAME   6
#define SQLColumns_COLUMN_SIZE   7
#define SQLColumns_BUFFER_LENGTH   8
#define SQLColumns_DECIMAL_DIGITS   9
#define SQLColumns_NUM_PREC_RADIX   10
#define SQLColumns_NULLABLE   11
#define SQLColumns_REMARKS   12
#define SQLColumns_COLUMN_DEF   13
#define SQLColumns_SQL_DATA_TYPE   14
#define SQLColumns_SQL_DATETIME_SUB   15
#define SQLColumns_CHAR_OCTET_LENGTH   16
#define SQLColumns_ORDINAL_POSITION   17
#define SQLColumns_IS_NULLABLE   18
#define SQL_SPEC_MAJOR   3
#define SQL_SPEC_MINOR   52
#define SQL_SPEC_STRING   "03.52"
#define SQL_SQLSTATE_SIZE   5
#define SQL_MAX_DSN_LENGTH   32
#define SQL_MAX_OPTION_STRING_LENGTH   256
#define SQL_NO_DATA_FOUND   SQL_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_ATTR_UNIXODBC_SYSPATH   65001
#define SQL_ATTR_UNIXODBC_VERSION   65002
#define SQL_ATTR_UNIXODBC_ENVATTR   65003
#define SQL_CP_OFF   0UL
#define SQL_CP_ONE_PER_DRIVER   1UL
#define SQL_CP_ONE_PER_HENV   2UL
#define SQL_CP_DEFAULT   SQL_CP_OFF
#define SQL_CP_STRICT_MATCH   0UL
#define SQL_CP_RELAXED_MATCH   1UL
#define SQL_CP_MATCH_DEFAULT   SQL_CP_STRICT_MATCH
#define SQL_OV_ODBC2   2UL
#define SQL_OV_ODBC3   3UL
#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_MODE   SQL_ACCESS_MODE
#define SQL_ATTR_AUTOCOMMIT   SQL_AUTOCOMMIT
#define SQL_ATTR_CONNECTION_TIMEOUT   113
#define SQL_ATTR_CURRENT_CATALOG   SQL_CURRENT_QUALIFIER
#define SQL_ATTR_DISCONNECT_BEHAVIOR   114
#define SQL_ATTR_ENLIST_IN_DTC   1207
#define SQL_ATTR_ENLIST_IN_XA   1208
#define SQL_ATTR_LOGIN_TIMEOUT   SQL_LOGIN_TIMEOUT
#define SQL_ATTR_ODBC_CURSORS   SQL_ODBC_CURSORS
#define SQL_ATTR_PACKET_SIZE   SQL_PACKET_SIZE
#define SQL_ATTR_QUIET_MODE   SQL_QUIET_MODE
#define SQL_ATTR_TRACE   SQL_OPT_TRACE
#define SQL_ATTR_TRACEFILE   SQL_OPT_TRACEFILE
#define SQL_ATTR_TRANSLATE_LIB   SQL_TRANSLATE_DLL
#define SQL_ATTR_TRANSLATE_OPTION   SQL_TRANSLATE_OPTION
#define SQL_ATTR_TXN_ISOLATION   SQL_TXN_ISOLATION
#define SQL_ATTR_CONNECTION_DEAD   1209
#define SQL_ATTR_DRIVER_THREADING   1028
#define SQL_ATTR_ANSI_APP   115
#define SQL_MODE_READ_WRITE   0UL
#define SQL_MODE_READ_ONLY   1UL
#define SQL_MODE_DEFAULT   SQL_MODE_READ_WRITE
#define SQL_AUTOCOMMIT_OFF   0UL
#define SQL_AUTOCOMMIT_ON   1UL
#define SQL_AUTOCOMMIT_DEFAULT   SQL_AUTOCOMMIT_ON
#define SQL_LOGIN_TIMEOUT_DEFAULT   15UL
#define SQL_OPT_TRACE_OFF   0UL
#define SQL_OPT_TRACE_ON   1UL
#define SQL_OPT_TRACE_DEFAULT   SQL_OPT_TRACE_OFF
#define SQL_OPT_TRACE_FILE_DEFAULT   "\\SQL.LOG"
#define SQL_CUR_USE_IF_NEEDED   0UL
#define SQL_CUR_USE_ODBC   1UL
#define SQL_CUR_USE_DRIVER   2UL
#define SQL_CUR_DEFAULT   SQL_CUR_USE_DRIVER
#define SQL_DB_RETURN_TO_POOL   0UL
#define SQL_DB_DISCONNECT   1UL
#define SQL_DB_DEFAULT   SQL_DB_RETURN_TO_POOL
#define SQL_DTC_DONE   0L
#define SQL_CD_TRUE   1L
#define SQL_CD_FALSE   0L
#define SQL_AA_TRUE   1L
#define SQL_AA_FALSE   0L
#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_CONCURRENCY   SQL_CONCURRENCY
#define SQL_ATTR_CURSOR_TYPE   SQL_CURSOR_TYPE
#define SQL_ATTR_ENABLE_AUTO_IPD   15
#define SQL_ATTR_FETCH_BOOKMARK_PTR   16
#define SQL_ATTR_KEYSET_SIZE   SQL_KEYSET_SIZE
#define SQL_ATTR_MAX_LENGTH   SQL_MAX_LENGTH
#define SQL_ATTR_MAX_ROWS   SQL_MAX_ROWS
#define SQL_ATTR_NOSCAN   SQL_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_TIMEOUT   SQL_QUERY_TIMEOUT
#define SQL_ATTR_RETRIEVE_DATA   SQL_RETRIEVE_DATA
#define SQL_ATTR_ROW_BIND_OFFSET_PTR   23
#define SQL_ATTR_ROW_BIND_TYPE   SQL_BIND_TYPE
#define SQL_ATTR_ROW_NUMBER   SQL_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_CURSOR   SQL_SIMULATE_CURSOR
#define SQL_ATTR_USE_BOOKMARKS   SQL_USE_BOOKMARKS
#define SQL_COL_PRED_CHAR   SQL_LIKE_ONLY
#define SQL_COL_PRED_BASIC   SQL_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   0UL
#define SQL_PARAM_BIND_TYPE_DEFAULT   SQL_PARAM_BIND_BY_COLUMN
#define SQL_QUERY_TIMEOUT_DEFAULT   0UL
#define SQL_MAX_ROWS_DEFAULT   0UL
#define SQL_NOSCAN_OFF   0UL
#define SQL_NOSCAN_ON   1UL
#define SQL_NOSCAN_DEFAULT   SQL_NOSCAN_OFF
#define SQL_MAX_LENGTH_DEFAULT   0UL
#define SQL_ASYNC_ENABLE_OFF   0UL
#define SQL_ASYNC_ENABLE_ON   1UL
#define SQL_ASYNC_ENABLE_DEFAULT   SQL_ASYNC_ENABLE_OFF
#define SQL_BIND_BY_COLUMN   0UL
#define SQL_BIND_TYPE_DEFAULT   SQL_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_DEFAULT   SQL_CONCUR_READ_ONLY
#define SQL_CURSOR_FORWARD_ONLY   0UL
#define SQL_CURSOR_KEYSET_DRIVEN   1UL
#define SQL_CURSOR_DYNAMIC   2UL
#define SQL_CURSOR_STATIC   3UL
#define SQL_CURSOR_TYPE_DEFAULT   SQL_CURSOR_FORWARD_ONLY
#define SQL_ROWSET_SIZE_DEFAULT   1UL
#define SQL_KEYSET_SIZE_DEFAULT   0UL
#define SQL_SC_NON_UNIQUE   0UL
#define SQL_SC_TRY_UNIQUE   1UL
#define SQL_SC_UNIQUE   2UL
#define SQL_RD_OFF   0UL
#define SQL_RD_ON   1UL
#define SQL_RD_DEFAULT   SQL_RD_ON
#define SQL_UB_OFF   0UL
#define SQL_UB_ON   01UL
#define SQL_UB_DEFAULT   SQL_UB_OFF
#define SQL_UB_FIXED   SQL_UB_ON
#define SQL_UB_VARIABLE   2UL
#define SQL_DESC_ARRAY_SIZE   20
#define SQL_DESC_ARRAY_STATUS_PTR   21
#define SQL_DESC_AUTO_UNIQUE_VALUE   SQL_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_SENSITIVE   SQL_COLUMN_CASE_SENSITIVE
#define SQL_DESC_CATALOG_NAME   SQL_COLUMN_QUALIFIER_NAME
#define SQL_DESC_CONCISE_TYPE   SQL_COLUMN_TYPE
#define SQL_DESC_DATETIME_INTERVAL_PRECISION   26
#define SQL_DESC_DISPLAY_SIZE   SQL_COLUMN_DISPLAY_SIZE
#define SQL_DESC_FIXED_PREC_SCALE   SQL_COLUMN_MONEY
#define SQL_DESC_LABEL   SQL_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_NAME   SQL_COLUMN_OWNER_NAME
#define SQL_DESC_SEARCHABLE   SQL_COLUMN_SEARCHABLE
#define SQL_DESC_TYPE_NAME   SQL_COLUMN_TYPE_NAME
#define SQL_DESC_TABLE_NAME   SQL_COLUMN_TABLE_NAME
#define SQL_DESC_UNSIGNED   SQL_COLUMN_UNSIGNED
#define SQL_DESC_UPDATABLE   SQL_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_UNICODE   SQL_WCHAR
#define SQL_UNICODE_VARCHAR   SQL_WVARCHAR
#define SQL_UNICODE_LONGVARCHAR   SQL_WLONGVARCHAR
#define SQL_UNICODE_CHAR   SQL_WCHAR
#define SQL_C_CHAR   SQL_CHAR
#define SQL_C_LONG   SQL_INTEGER
#define SQL_C_SHORT   SQL_SMALLINT
#define SQL_C_FLOAT   SQL_REAL
#define SQL_C_DOUBLE   SQL_DOUBLE
#define SQL_C_NUMERIC   SQL_NUMERIC
#define SQL_C_DEFAULT   99
#define SQL_SIGNED_OFFSET   (-20)
#define SQL_UNSIGNED_OFFSET   (-22)
#define SQL_C_DATE   SQL_DATE
#define SQL_C_TIME   SQL_TIME
#define SQL_C_TIMESTAMP   SQL_TIMESTAMP
#define SQL_C_TYPE_DATE   SQL_TYPE_DATE
#define SQL_C_TYPE_TIME   SQL_TYPE_TIME
#define SQL_C_TYPE_TIMESTAMP   SQL_TYPE_TIMESTAMP
#define SQL_C_INTERVAL_YEAR   SQL_INTERVAL_YEAR
#define SQL_C_INTERVAL_MONTH   SQL_INTERVAL_MONTH
#define SQL_C_INTERVAL_DAY   SQL_INTERVAL_DAY
#define SQL_C_INTERVAL_HOUR   SQL_INTERVAL_HOUR
#define SQL_C_INTERVAL_MINUTE   SQL_INTERVAL_MINUTE
#define SQL_C_INTERVAL_SECOND   SQL_INTERVAL_SECOND
#define SQL_C_INTERVAL_YEAR_TO_MONTH   SQL_INTERVAL_YEAR_TO_MONTH
#define SQL_C_INTERVAL_DAY_TO_HOUR   SQL_INTERVAL_DAY_TO_HOUR
#define SQL_C_INTERVAL_DAY_TO_MINUTE   SQL_INTERVAL_DAY_TO_MINUTE
#define SQL_C_INTERVAL_DAY_TO_SECOND   SQL_INTERVAL_DAY_TO_SECOND
#define SQL_C_INTERVAL_HOUR_TO_MINUTE   SQL_INTERVAL_HOUR_TO_MINUTE
#define SQL_C_INTERVAL_HOUR_TO_SECOND   SQL_INTERVAL_HOUR_TO_SECOND
#define SQL_C_INTERVAL_MINUTE_TO_SECOND   SQL_INTERVAL_MINUTE_TO_SECOND
#define SQL_C_BINARY   SQL_BINARY
#define SQL_C_BIT   SQL_BIT
#define SQL_C_SBIGINT   (SQL_BIGINT+SQL_SIGNED_OFFSET)
#define SQL_C_UBIGINT   (SQL_BIGINT+SQL_UNSIGNED_OFFSET)
#define SQL_C_TINYINT   SQL_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_BOOKMARK   SQL_C_ULONG
#define SQL_C_GUID   SQL_GUID
#define SQL_TYPE_NULL   0
#define SQL_C_VARBOOKMARK   SQL_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_IGNORE   SQL_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_DEFAULT   SQL_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_MAX   SQL_COLUMN_LABEL
#define SQL_COLATT_OPT_MIN   SQL_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_SEARCHABLE   SQL_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
#define SQL_FUNC_EXISTS(pfExists, uwAPI)   ((*(((UWORD*) (pfExists)) + ((uwAPI) >> 4)) & (1 << ((uwAPI) & 0x000F)) ) ? SQL_TRUE : SQL_FALSE )
#define SQL_INFO_FIRST   0
#define SQL_ACTIVE_CONNECTIONS   0
#define SQL_ACTIVE_STATEMENTS   1
#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
#define SQL_MAX_PROCEDURE_NAME_LEN   33
#define SQL_MAX_QUALIFIER_NAME_LEN   34
#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
#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_LOCATION   SQL_QUALIFIER_LOCATION
#define SQL_CATALOG_NAME_SEPARATOR   SQL_QUALIFIER_NAME_SEPARATOR
#define SQL_CATALOG_TERM   SQL_QUALIFIER_TERM
#define SQL_CATALOG_USAGE   SQL_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
#define SQL_ODBC_INTERFACE_CONFORMANCE   152
#define SQL_PARAM_ARRAY_ROW_COUNTS   153
#define SQL_PARAM_ARRAY_SELECTS   154
#define SQL_SCHEMA_TERM   SQL_OWNER_TERM
#define SQL_SCHEMA_USAGE   SQL_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_UNION_STATEMENT   SQL_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_UNLOCK   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   (SQL_CA2_MAX_ROWS_SELECT | SQL_CA2_MAX_ROWS_INSERT | SQL_CA2_MAX_ROWS_DELETE | SQL_CA2_MAX_ROWS_UPDATE | SQL_CA2_MAX_ROWS_CATALOG)
#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_CATALOG   SQL_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_STATEMENTS   SQL_OU_DML_STATEMENTS
#define SQL_SU_PROCEDURE_INVOCATION   SQL_OU_PROCEDURE_INVOCATION
#define SQL_SU_TABLE_DEFINITION   SQL_OU_TABLE_DEFINITION
#define SQL_SU_INDEX_DEFINITION   SQL_OU_INDEX_DEFINITION
#define SQL_SU_PRIVILEGE_DEFINITION   SQL_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_STATEMENTS   SQL_QU_DML_STATEMENTS
#define SQL_CU_PROCEDURE_INVOCATION   SQL_QU_PROCEDURE_INVOCATION
#define SQL_CU_TABLE_DEFINITION   SQL_QU_TABLE_DEFINITION
#define SQL_CU_INDEX_DEFINITION   SQL_QU_INDEX_DEFINITION
#define SQL_CU_PRIVILEGE_DEFINITION   SQL_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_START   SQL_QL_START
#define SQL_CL_END   SQL_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   1UL
#define SQL_OIC_LEVEL1   2UL
#define SQL_OIC_LEVEL2   3UL
#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_COLUMN   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_UNION   SQL_U_UNION
#define SQL_US_UNION_ALL   SQL_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_VALUE   SQL_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
#define SQL_LOCK_EXCLUSIVE   1
#define SQL_LOCK_UNLOCK   2
#define SQL_SETPOS_MAX_LOCK_VALUE   SQL_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
#define SQL_ODBC_KEYWORDS
#define SQL_DATABASE_NAME   16
#define SQL_FD_FETCH_PREV   SQL_FD_FETCH_PRIOR
#define SQL_FETCH_PREV   SQL_FETCH_PRIOR
#define SQL_CONCUR_TIMESTAMP   SQL_CONCUR_ROWVER
#define SQL_SCCO_OPT_TIMESTAMP   SQL_SCCO_OPT_ROWVER
#define SQL_CC_DELETE   SQL_CB_DELETE
#define SQL_CR_DELETE   SQL_CB_DELETE
#define SQL_CC_CLOSE   SQL_CB_CLOSE
#define SQL_CR_CLOSE   SQL_CB_CLOSE
#define SQL_CC_PRESERVE   SQL_CB_PRESERVE
#define SQL_CR_PRESERVE   SQL_CB_PRESERVE
#define SQL_SCROLL_FORWARD_ONLY   0L
#define SQL_SCROLL_KEYSET_DRIVEN   (-1L)
#define SQL_SCROLL_DYNAMIC   (-2L)
#define SQL_SCROLL_STATIC   (-3L)
#define TRACE_VERSION   1000
#define TRACE_ON   0x00000001L
#define TRACE_VS_EVENT_ON   0x00000002L
#define ODBC_VS_FLAG_UNICODE_ARG   0x00000001L
#define ODBC_VS_FLAG_UNICODE_COR   0x00000002L
#define ODBC_VS_FLAG_RETCODE   0x00000004L
#define ODBC_VS_FLAG_STOP   0x00000008L

Typedefs

typedef tagODBC_VS_ARGS ODBC_VS_ARGS
typedef tagODBC_VS_ARGSPODBC_VS_ARGS

Functions

SQLRETURN SQL_API SQLDriverConnect (SQLHDBC hdbc, SQLHWND hwnd, SQLCHAR *szConnStrIn, SQLSMALLINT cbConnStrIn, SQLCHAR *szConnStrOut, SQLSMALLINT cbConnStrOutMax, SQLSMALLINT *pcbConnStrOut, SQLUSMALLINT fDriverCompletion)
SQLRETURN SQL_API SQLBrowseConnect (SQLHDBC hdbc, SQLCHAR *szConnStrIn, SQLSMALLINT cbConnStrIn, SQLCHAR *szConnStrOut, SQLSMALLINT cbConnStrOutMax, SQLSMALLINT *pcbConnStrOut)
SQLRETURN SQL_API SQLBulkOperations (SQLHSTMT StatementHandle, SQLSMALLINT Operation)
SQLRETURN SQL_API SQLColAttributes (SQLHSTMT hstmt, SQLUSMALLINT icol, SQLUSMALLINT fDescType, SQLPOINTER rgbDesc, SQLSMALLINT cbDescMax, SQLSMALLINT *pcbDesc, SQLLEN *pfDesc)
SQLRETURN SQL_API SQLColumnPrivileges (SQLHSTMT hstmt, SQLCHAR *szCatalogName, SQLSMALLINT cbCatalogName, SQLCHAR *szSchemaName, SQLSMALLINT cbSchemaName, SQLCHAR *szTableName, SQLSMALLINT cbTableName, SQLCHAR *szColumnName, SQLSMALLINT cbColumnName)
SQLRETURN SQL_API SQLDescribeParam (SQLHSTMT hstmt, SQLUSMALLINT ipar, SQLSMALLINT *pfSqlType, SQLULEN *pcbParamDef, SQLSMALLINT *pibScale, SQLSMALLINT *pfNullable)
SQLRETURN SQL_API SQLExtendedFetch (SQLHSTMT hstmt, SQLUSMALLINT fFetchType, SQLROWOFFSET irow, SQLROWSETSIZE *pcrow, SQLUSMALLINT *rgfRowStatus)
SQLRETURN SQL_API SQLForeignKeys (SQLHSTMT hstmt, SQLCHAR *szPkCatalogName, SQLSMALLINT cbPkCatalogName, SQLCHAR *szPkSchemaName, SQLSMALLINT cbPkSchemaName, SQLCHAR *szPkTableName, SQLSMALLINT cbPkTableName, SQLCHAR *szFkCatalogName, SQLSMALLINT cbFkCatalogName, SQLCHAR *szFkSchemaName, SQLSMALLINT cbFkSchemaName, SQLCHAR *szFkTableName, SQLSMALLINT cbFkTableName)
SQLRETURN SQL_API SQLMoreResults (SQLHSTMT hstmt)
SQLRETURN SQL_API SQLNativeSql (SQLHDBC hdbc, SQLCHAR *szSqlStrIn, SQLINTEGER cbSqlStrIn, SQLCHAR *szSqlStr, SQLINTEGER cbSqlStrMax, SQLINTEGER *pcbSqlStr)
SQLRETURN SQL_API SQLNumParams (SQLHSTMT hstmt, SQLSMALLINT *pcpar)
SQLRETURN SQL_API SQLParamOptions (SQLHSTMT hstmt, SQLULEN crow, SQLULEN *pirow)
SQLRETURN SQL_API SQLPrimaryKeys (SQLHSTMT hstmt, SQLCHAR *szCatalogName, SQLSMALLINT cbCatalogName, SQLCHAR *szSchemaName, SQLSMALLINT cbSchemaName, SQLCHAR *szTableName, SQLSMALLINT cbTableName)
SQLRETURN SQL_API SQLProcedureColumns (SQLHSTMT hstmt, SQLCHAR *szCatalogName, SQLSMALLINT cbCatalogName, SQLCHAR *szSchemaName, SQLSMALLINT cbSchemaName, SQLCHAR *szProcName, SQLSMALLINT cbProcName, SQLCHAR *szColumnName, SQLSMALLINT cbColumnName)
SQLRETURN SQL_API SQLProcedures (SQLHSTMT hstmt, SQLCHAR *szCatalogName, SQLSMALLINT cbCatalogName, SQLCHAR *szSchemaName, SQLSMALLINT cbSchemaName, SQLCHAR *szProcName, SQLSMALLINT cbProcName)
SQLRETURN SQL_API SQLSetPos (SQLHSTMT hstmt, SQLSETPOSIROW irow, SQLUSMALLINT fOption, SQLUSMALLINT fLock)
SQLRETURN SQL_API SQLTablePrivileges (SQLHSTMT hstmt, SQLCHAR *szCatalogName, SQLSMALLINT cbCatalogName, SQLCHAR *szSchemaName, SQLSMALLINT cbSchemaName, SQLCHAR *szTableName, SQLSMALLINT cbTableName)
SQLRETURN SQL_API SQLDrivers (SQLHENV henv, SQLUSMALLINT fDirection, SQLCHAR *szDriverDesc, SQLSMALLINT cbDriverDescMax, SQLSMALLINT *pcbDriverDesc, SQLCHAR *szDriverAttributes, SQLSMALLINT cbDrvrAttrMax, SQLSMALLINT *pcbDrvrAttr)
SQLRETURN SQL_API SQLBindParameter (SQLHSTMT hstmt, SQLUSMALLINT ipar, SQLSMALLINT fParamType, SQLSMALLINT fCType, SQLSMALLINT fSqlType, SQLULEN cbColDef, SQLSMALLINT ibScale, SQLPOINTER rgbValue, SQLLEN cbValueMax, SQLLEN *pcbValue)
SQLRETURN SQL_API SQLAllocHandleStd (SQLSMALLINT fHandleType, SQLHANDLE hInput, SQLHANDLE *phOutput)
SQLRETURN SQL_API SQLSetScrollOptions (SQLHSTMT hstmt, SQLUSMALLINT fConcurrency, SQLLEN crowKeyset, SQLUSMALLINT crowRowset)
RETCODE TraceCloseLogFile (VOID)
VOID TraceReturn (RETCODE, RETCODE)
DWORD TraceVersion (VOID)
RETCODE TraceVSControl (DWORD)
VOID FireVSDebugEvent (PODBC_VS_ARGS)


Define Documentation

#define ODBC_VS_FLAG_RETCODE   0x00000004L

Definition at line 2053 of file sqlext.h.

#define ODBC_VS_FLAG_STOP   0x00000008L

Definition at line 2054 of file sqlext.h.

#define ODBC_VS_FLAG_UNICODE_ARG   0x00000001L

Definition at line 2051 of file sqlext.h.

#define ODBC_VS_FLAG_UNICODE_COR   0x00000002L

Definition at line 2052 of file sqlext.h.

#define SQL_AA_FALSE   0L

Definition at line 209 of file sqlext.h.

#define SQL_AA_TRUE   1L

Definition at line 208 of file sqlext.h.

#define SQL_ACCESS_MODE   101

Definition at line 104 of file sqlext.h.

#define SQL_ACTIVE_CONNECTIONS   0

Definition at line 718 of file sqlext.h.

#define SQL_ACTIVE_ENVIRONMENTS   116

Definition at line 824 of file sqlext.h.

#define SQL_ACTIVE_STATEMENTS   1

Definition at line 719 of file sqlext.h.

#define SQL_AD_ADD_CONSTRAINT_DEFERRABLE   0x00000080L

Definition at line 1439 of file sqlext.h.

#define SQL_AD_ADD_CONSTRAINT_INITIALLY_DEFERRED   0x00000020L

Definition at line 1437 of file sqlext.h.

#define SQL_AD_ADD_CONSTRAINT_INITIALLY_IMMEDIATE   0x00000040L

Definition at line 1438 of file sqlext.h.

#define SQL_AD_ADD_CONSTRAINT_NON_DEFERRABLE   0x00000100L

Definition at line 1440 of file sqlext.h.

#define SQL_AD_ADD_DOMAIN_CONSTRAINT   0x00000002L

Definition at line 1433 of file sqlext.h.

#define SQL_AD_ADD_DOMAIN_DEFAULT   0x00000008L

Definition at line 1435 of file sqlext.h.

#define SQL_AD_CONSTRAINT_NAME_DEFINITION   0x00000001L

Definition at line 1432 of file sqlext.h.

#define SQL_AD_DROP_DOMAIN_CONSTRAINT   0x00000004L

Definition at line 1434 of file sqlext.h.

#define SQL_AD_DROP_DOMAIN_DEFAULT   0x00000010L

Definition at line 1436 of file sqlext.h.

#define SQL_ADD   4

Definition at line 1654 of file sqlext.h.

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

Definition at line 1676 of file sqlext.h.

#define SQL_AF_ALL   0x00000040L

Definition at line 1343 of file sqlext.h.

#define SQL_AF_AVG   0x00000001L

Definition at line 1337 of file sqlext.h.

#define SQL_AF_COUNT   0x00000002L

Definition at line 1338 of file sqlext.h.

#define SQL_AF_DISTINCT   0x00000020L

Definition at line 1342 of file sqlext.h.

#define SQL_AF_MAX   0x00000004L

Definition at line 1339 of file sqlext.h.

#define SQL_AF_MIN   0x00000008L

Definition at line 1340 of file sqlext.h.

#define SQL_AF_SUM   0x00000010L

Definition at line 1341 of file sqlext.h.

#define SQL_AGGREGATE_FUNCTIONS   169

Definition at line 888 of file sqlext.h.

#define SQL_ALL_CATALOGS   "%"

Definition at line 1698 of file sqlext.h.

#define SQL_ALL_EXCEPT_LIKE   2

Definition at line 613 of file sqlext.h.

#define SQL_ALL_SCHEMAS   "%"

Definition at line 1699 of file sqlext.h.

#define SQL_ALL_TABLE_TYPES   "%"

Definition at line 1700 of file sqlext.h.

#define SQL_ALTER_DOMAIN   117

Definition at line 825 of file sqlext.h.

#define SQL_AM_CONNECTION   1

Definition at line 1428 of file sqlext.h.

#define SQL_AM_NONE   0

Definition at line 1427 of file sqlext.h.

#define SQL_AM_STATEMENT   2

Definition at line 1429 of file sqlext.h.

#define SQL_API_ALL_FUNCTIONS   0

Definition at line 676 of file sqlext.h.

#define SQL_API_LOADBYORDINAL   199

Definition at line 687 of file sqlext.h.

#define SQL_API_ODBC3_ALL_FUNCTIONS   999

Definition at line 699 of file sqlext.h.

#define SQL_API_ODBC3_ALL_FUNCTIONS_SIZE   250

Definition at line 700 of file sqlext.h.

#define SQL_API_SQLALLOCHANDLESTD   73

Definition at line 628 of file sqlext.h.

#define SQL_API_SQLBINDPARAMETER   72

Definition at line 631 of file sqlext.h.

#define SQL_API_SQLBROWSECONNECT   55

Definition at line 632 of file sqlext.h.

#define SQL_API_SQLBULKOPERATIONS   24

Definition at line 629 of file sqlext.h.

#define SQL_API_SQLCOLATTRIBUTES   6

Definition at line 633 of file sqlext.h.

#define SQL_API_SQLCOLUMNPRIVILEGES   56

Definition at line 634 of file sqlext.h.

#define SQL_API_SQLDESCRIBEPARAM   58

Definition at line 635 of file sqlext.h.

#define SQL_API_SQLDRIVERCONNECT   41

Definition at line 636 of file sqlext.h.

#define SQL_API_SQLDRIVERS   71

Definition at line 637 of file sqlext.h.

#define SQL_API_SQLEXTENDEDFETCH   59

Definition at line 638 of file sqlext.h.

#define SQL_API_SQLFOREIGNKEYS   60

Definition at line 639 of file sqlext.h.

#define SQL_API_SQLMORERESULTS   61

Definition at line 640 of file sqlext.h.

#define SQL_API_SQLNATIVESQL   62

Definition at line 641 of file sqlext.h.

#define SQL_API_SQLNUMPARAMS   63

Definition at line 642 of file sqlext.h.

#define SQL_API_SQLPARAMOPTIONS   64

Definition at line 643 of file sqlext.h.

#define SQL_API_SQLPRIMARYKEYS   65

Definition at line 644 of file sqlext.h.

#define SQL_API_SQLPROCEDURECOLUMNS   66

Definition at line 645 of file sqlext.h.

#define SQL_API_SQLPROCEDURES   67

Definition at line 646 of file sqlext.h.

#define SQL_API_SQLSETPOS   68

Definition at line 647 of file sqlext.h.

#define SQL_API_SQLSETSCROLLOPTIONS   69

Definition at line 648 of file sqlext.h.

#define SQL_API_SQLTABLEPRIVILEGES   70

Definition at line 649 of file sqlext.h.

#define SQL_ASYNC_ENABLE   4

Definition at line 217 of file sqlext.h.

#define SQL_ASYNC_ENABLE_DEFAULT   SQL_ASYNC_ENABLE_OFF

Definition at line 306 of file sqlext.h.

#define SQL_ASYNC_ENABLE_OFF   0UL

Definition at line 304 of file sqlext.h.

#define SQL_ASYNC_ENABLE_ON   1UL

Definition at line 305 of file sqlext.h.

#define SQL_ASYNC_MODE   10021

Definition at line 830 of file sqlext.h.

#define SQL_AT_ADD_COLUMN_COLLATION   0x00000080L

Definition at line 906 of file sqlext.h.

#define SQL_AT_ADD_COLUMN_DEFAULT   0x00000040L

Definition at line 905 of file sqlext.h.

#define SQL_AT_ADD_COLUMN_SINGLE   0x00000020L

Definition at line 904 of file sqlext.h.

#define SQL_AT_ADD_TABLE_CONSTRAINT   0x00001000L

Definition at line 911 of file sqlext.h.

#define SQL_AT_CONSTRAINT_DEFERRABLE   0x00040000L

Definition at line 917 of file sqlext.h.

#define SQL_AT_CONSTRAINT_INITIALLY_DEFERRED   0x00010000L

Definition at line 915 of file sqlext.h.

#define SQL_AT_CONSTRAINT_INITIALLY_IMMEDIATE   0x00020000L

Definition at line 916 of file sqlext.h.

#define SQL_AT_CONSTRAINT_NAME_DEFINITION   0x00008000L

Definition at line 914 of file sqlext.h.

#define SQL_AT_CONSTRAINT_NON_DEFERRABLE   0x00080000L

Definition at line 918 of file sqlext.h.

#define SQL_AT_DROP_COLUMN_CASCADE   0x00000400L

Definition at line 909 of file sqlext.h.

#define SQL_AT_DROP_COLUMN_DEFAULT   0x00000200L

Definition at line 908 of file sqlext.h.

#define SQL_AT_DROP_COLUMN_RESTRICT   0x00000800L

Definition at line 910 of file sqlext.h.

#define SQL_AT_DROP_TABLE_CONSTRAINT_CASCADE   0x00002000L

Definition at line 912 of file sqlext.h.

#define SQL_AT_DROP_TABLE_CONSTRAINT_RESTRICT   0x00004000L

Definition at line 913 of file sqlext.h.

#define SQL_AT_SET_COLUMN_DEFAULT   0x00000100L

Definition at line 907 of file sqlext.h.

#define SQL_ATTR_ACCESS_MODE   SQL_ACCESS_MODE

Definition at line 119 of file sqlext.h.

Referenced by CSqlOdbcDbc::SQLGetConnectAttr(), and CSqlOdbcDbc::SQLSetConnectAttr().

#define SQL_ATTR_ANSI_APP   115

Definition at line 154 of file sqlext.h.

#define SQL_ATTR_ASYNC_ENABLE   4

Definition at line 231 of file sqlext.h.

#define SQL_ATTR_AUTOCOMMIT   SQL_AUTOCOMMIT

Definition at line 120 of file sqlext.h.

Referenced by SqlOdbcConnection::connect(), CSqlOdbcDbc::SQLGetConnectAttr(), and CSqlOdbcDbc::SQLSetConnectAttr().

#define SQL_ATTR_CONCURRENCY   SQL_CONCURRENCY

Definition at line 232 of file sqlext.h.

#define SQL_ATTR_CONNECTION_DEAD   1209

Definition at line 137 of file sqlext.h.

#define SQL_ATTR_CONNECTION_POOLING   201

Definition at line 77 of file sqlext.h.

#define SQL_ATTR_CONNECTION_TIMEOUT   113

Definition at line 121 of file sqlext.h.

#define SQL_ATTR_CP_MATCH   202

Definition at line 78 of file sqlext.h.

#define SQL_ATTR_CURRENT_CATALOG   SQL_CURRENT_QUALIFIER

Definition at line 122 of file sqlext.h.

#define SQL_ATTR_CURSOR_TYPE   SQL_CURSOR_TYPE

Definition at line 233 of file sqlext.h.

#define SQL_ATTR_DISCONNECT_BEHAVIOR   114

Definition at line 123 of file sqlext.h.

#define SQL_ATTR_DRIVER_THREADING   1028

Definition at line 139 of file sqlext.h.

#define SQL_ATTR_ENABLE_AUTO_IPD   15

Definition at line 234 of file sqlext.h.

#define SQL_ATTR_ENLIST_IN_DTC   1207

Definition at line 124 of file sqlext.h.

#define SQL_ATTR_ENLIST_IN_XA   1208

Definition at line 125 of file sqlext.h.

#define SQL_ATTR_FETCH_BOOKMARK_PTR   16

Definition at line 235 of file sqlext.h.

#define SQL_ATTR_KEYSET_SIZE   SQL_KEYSET_SIZE

Definition at line 236 of file sqlext.h.

#define SQL_ATTR_LOGIN_TIMEOUT   SQL_LOGIN_TIMEOUT

Definition at line 126 of file sqlext.h.

#define SQL_ATTR_MAX_LENGTH   SQL_MAX_LENGTH

Definition at line 237 of file sqlext.h.

#define SQL_ATTR_MAX_ROWS   SQL_MAX_ROWS

Definition at line 238 of file sqlext.h.

#define SQL_ATTR_NOSCAN   SQL_NOSCAN

Definition at line 239 of file sqlext.h.

#define SQL_ATTR_ODBC_CURSORS   SQL_ODBC_CURSORS

Definition at line 127 of file sqlext.h.

#define SQL_ATTR_ODBC_VERSION   200

Definition at line 76 of file sqlext.h.

Referenced by SqlOdbcConnection::connect(), CacheTableLoader::load(), CSqlOdbcEnv::SQLGetEnvAttr(), and CSqlOdbcEnv::SQLSetEnvAttr().

#define SQL_ATTR_PACKET_SIZE   SQL_PACKET_SIZE

Definition at line 128 of file sqlext.h.

#define SQL_ATTR_PARAM_BIND_OFFSET_PTR   17

Definition at line 240 of file sqlext.h.

#define SQL_ATTR_PARAM_BIND_TYPE   18

Definition at line 241 of file sqlext.h.

#define SQL_ATTR_PARAM_OPERATION_PTR   19

Definition at line 242 of file sqlext.h.

#define SQL_ATTR_PARAM_STATUS_PTR   20

Definition at line 243 of file sqlext.h.

#define SQL_ATTR_PARAMS_PROCESSED_PTR   21

Definition at line 244 of file sqlext.h.

#define SQL_ATTR_PARAMSET_SIZE   22

Definition at line 245 of file sqlext.h.

#define SQL_ATTR_QUERY_TIMEOUT   SQL_QUERY_TIMEOUT

Definition at line 246 of file sqlext.h.

#define SQL_ATTR_QUIET_MODE   SQL_QUIET_MODE

Definition at line 129 of file sqlext.h.

#define SQL_ATTR_READONLY   0

Definition at line 605 of file sqlext.h.

#define SQL_ATTR_READWRITE_UNKNOWN   2

Definition at line 607 of file sqlext.h.

Referenced by CSqlOdbcStmt::SQLColAttribute().

#define SQL_ATTR_RETRIEVE_DATA   SQL_RETRIEVE_DATA

Definition at line 247 of file sqlext.h.

#define SQL_ATTR_ROW_ARRAY_SIZE   27

Definition at line 254 of file sqlext.h.

#define SQL_ATTR_ROW_BIND_OFFSET_PTR   23

Definition at line 248 of file sqlext.h.

#define SQL_ATTR_ROW_BIND_TYPE   SQL_BIND_TYPE

Definition at line 249 of file sqlext.h.

#define SQL_ATTR_ROW_NUMBER   SQL_ROW_NUMBER

Definition at line 250 of file sqlext.h.

#define SQL_ATTR_ROW_OPERATION_PTR   24

Definition at line 251 of file sqlext.h.

#define SQL_ATTR_ROW_STATUS_PTR   25

Definition at line 252 of file sqlext.h.

#define SQL_ATTR_ROWS_FETCHED_PTR   26

Definition at line 253 of file sqlext.h.

#define SQL_ATTR_SIMULATE_CURSOR   SQL_SIMULATE_CURSOR

Definition at line 255 of file sqlext.h.

#define SQL_ATTR_TRACE   SQL_OPT_TRACE

Definition at line 130 of file sqlext.h.

#define SQL_ATTR_TRACEFILE   SQL_OPT_TRACEFILE

Definition at line 131 of file sqlext.h.

#define SQL_ATTR_TRANSLATE_LIB   SQL_TRANSLATE_DLL

Definition at line 132 of file sqlext.h.

#define SQL_ATTR_TRANSLATE_OPTION   SQL_TRANSLATE_OPTION

Definition at line 133 of file sqlext.h.

#define SQL_ATTR_TXN_ISOLATION   SQL_TXN_ISOLATION

Definition at line 134 of file sqlext.h.

Referenced by SqlOdbcConnection::beginTrans(), CSqlOdbcDbc::SQLGetConnectAttr(), and CSqlOdbcDbc::SQLSetConnectAttr().

#define SQL_ATTR_UNIXODBC_ENVATTR   65003

Definition at line 83 of file sqlext.h.

#define SQL_ATTR_UNIXODBC_SYSPATH   65001

Definition at line 81 of file sqlext.h.

#define SQL_ATTR_UNIXODBC_VERSION   65002

Definition at line 82 of file sqlext.h.

#define SQL_ATTR_USE_BOOKMARKS   SQL_USE_BOOKMARKS

Definition at line 256 of file sqlext.h.

#define SQL_ATTR_WRITE   1

Definition at line 606 of file sqlext.h.

#define SQL_AUTOCOMMIT   102

Definition at line 105 of file sqlext.h.

#define SQL_AUTOCOMMIT_DEFAULT   SQL_AUTOCOMMIT_ON

Definition at line 175 of file sqlext.h.

#define SQL_AUTOCOMMIT_OFF   0UL

Definition at line 173 of file sqlext.h.

Referenced by SqlOdbcConnection::connect().

#define SQL_AUTOCOMMIT_ON   1UL

Definition at line 174 of file sqlext.h.

Referenced by CSqlOdbcStmt::SQLExecute().

#define SQL_BATCH_ROW_COUNT   120

Definition at line 831 of file sqlext.h.

#define SQL_BATCH_SUPPORT   121

Definition at line 832 of file sqlext.h.

#define SQL_BEST_ROWID   1

Definition at line 1679 of file sqlext.h.

#define SQL_BIGINT   (-5)

Definition at line 407 of file sqlext.h.

Referenced by getSQLType(), getSQLTypeName(), and isValidSQLType().

#define SQL_BINARY   (-2)

Definition at line 404 of file sqlext.h.

Referenced by getSQLType(), getSQLTypeName(), isValidSQLType(), and CSqlOdbcStmt::SQLColAttribute().

#define SQL_BIND_BY_COLUMN   0UL

Definition at line 309 of file sqlext.h.

#define SQL_BIND_TYPE   5

Definition at line 218 of file sqlext.h.

#define SQL_BIND_TYPE_DEFAULT   SQL_BIND_BY_COLUMN

Definition at line 310 of file sqlext.h.

#define SQL_BIT   (-7)

Definition at line 409 of file sqlext.h.

Referenced by getSQLTypeName(), isValidSQLType(), and CSqlOdbcStmt::SQLColAttribute().

#define SQL_BOOKMARK_PERSISTENCE   82

Definition at line 778 of file sqlext.h.

#define SQL_BP_CLOSE   0x00000001L

Definition at line 1294 of file sqlext.h.

#define SQL_BP_DELETE   0x00000002L

Definition at line 1295 of file sqlext.h.

#define SQL_BP_DROP   0x00000004L

Definition at line 1296 of file sqlext.h.

#define SQL_BP_OTHER_HSTMT   0x00000020L

Definition at line 1299 of file sqlext.h.

#define SQL_BP_SCROLL   0x00000040L

Definition at line 1300 of file sqlext.h.

#define SQL_BP_TRANSACTION   0x00000008L

Definition at line 1297 of file sqlext.h.

#define SQL_BP_UPDATE   0x00000010L

Definition at line 1298 of file sqlext.h.

#define SQL_BRC_EXPLICIT   0x0000002

Definition at line 1375 of file sqlext.h.

#define SQL_BRC_PROCEDURES   0x0000001

Definition at line 1374 of file sqlext.h.

#define SQL_BRC_ROLLED_UP   0x0000004

Definition at line 1376 of file sqlext.h.

#define SQL_BS_ROW_COUNT_EXPLICIT   0x00000002L

Definition at line 1380 of file sqlext.h.

#define SQL_BS_ROW_COUNT_PROC   0x00000008L

Definition at line 1382 of file sqlext.h.

#define SQL_BS_SELECT_EXPLICIT   0x00000001L

Definition at line 1379 of file sqlext.h.

#define SQL_BS_SELECT_PROC   0x00000004L

Definition at line 1381 of file sqlext.h.

#define SQL_C_BINARY   SQL_BINARY

Definition at line 517 of file sqlext.h.

Referenced by CSqlOdbcDescList::freeAllDesc(), getCSqlType(), isValidCType(), CSqlOdbcStmt::SQLBindCol(), and CSqlOdbcStmt::SQLBindParameter().

#define SQL_C_BIT   SQL_BIT

Definition at line 518 of file sqlext.h.

Referenced by getCSqlType(), and isValidCType().

#define SQL_C_BOOKMARK   SQL_C_ULONG

Definition at line 534 of file sqlext.h.

#define SQL_C_CHAR   SQL_CHAR

Definition at line 482 of file sqlext.h.

Referenced by AllDataType::convertToSQL_C_Type(), CSqlOdbcDescList::freeAllDesc(), getCSqlType(), SqlOdbcStatement::getPrimaryKeyFieldName(), isValidCType(), CacheTableLoader::load(), CSqlOdbcStmt::SQLBindCol(), and CSqlOdbcStmt::SQLBindParameter().

#define SQL_C_DATE   SQL_DATE

Definition at line 496 of file sqlext.h.

Referenced by getCSqlType(), and isValidCType().

#define SQL_C_DEFAULT   99

Definition at line 490 of file sqlext.h.

#define SQL_C_DOUBLE   SQL_DOUBLE

Definition at line 486 of file sqlext.h.

Referenced by AllDataType::convertToSQL_C_Type(), getCSqlType(), and isValidCType().

#define SQL_C_FLOAT   SQL_REAL

Definition at line 485 of file sqlext.h.

Referenced by AllDataType::convertToSQL_C_Type(), getCSqlType(), and isValidCType().

#define SQL_C_GUID   SQL_GUID

Definition at line 538 of file sqlext.h.

#define SQL_C_INTERVAL_DAY   SQL_INTERVAL_DAY

Definition at line 505 of file sqlext.h.

#define SQL_C_INTERVAL_DAY_TO_HOUR   SQL_INTERVAL_DAY_TO_HOUR

Definition at line 510 of file sqlext.h.

#define SQL_C_INTERVAL_DAY_TO_MINUTE   SQL_INTERVAL_DAY_TO_MINUTE

Definition at line 511 of file sqlext.h.

#define SQL_C_INTERVAL_DAY_TO_SECOND   SQL_INTERVAL_DAY_TO_SECOND

Definition at line 512 of file sqlext.h.

#define SQL_C_INTERVAL_HOUR   SQL_INTERVAL_HOUR

Definition at line 506 of file sqlext.h.

#define SQL_C_INTERVAL_HOUR_TO_MINUTE   SQL_INTERVAL_HOUR_TO_MINUTE

Definition at line 513 of file sqlext.h.

#define SQL_C_INTERVAL_HOUR_TO_SECOND   SQL_INTERVAL_HOUR_TO_SECOND

Definition at line 514 of file sqlext.h.

#define SQL_C_INTERVAL_MINUTE   SQL_INTERVAL_MINUTE

Definition at line 507 of file sqlext.h.

#define SQL_C_INTERVAL_MINUTE_TO_SECOND   SQL_INTERVAL_MINUTE_TO_SECOND

Definition at line 515 of file sqlext.h.

#define SQL_C_INTERVAL_MONTH   SQL_INTERVAL_MONTH

Definition at line 504 of file sqlext.h.

#define SQL_C_INTERVAL_SECOND   SQL_INTERVAL_SECOND

Definition at line 508 of file sqlext.h.

#define SQL_C_INTERVAL_YEAR   SQL_INTERVAL_YEAR

Definition at line 503 of file sqlext.h.

#define SQL_C_INTERVAL_YEAR_TO_MONTH   SQL_INTERVAL_YEAR_TO_MONTH

Definition at line 509 of file sqlext.h.

#define SQL_C_LONG   SQL_INTEGER

Definition at line 483 of file sqlext.h.

Referenced by getCSqlType(), and isValidCType().

#define SQL_C_NUMERIC   SQL_NUMERIC

Definition at line 488 of file sqlext.h.

Referenced by getCSqlType(), and isValidCType().

#define SQL_C_SBIGINT   (SQL_BIGINT+SQL_SIGNED_OFFSET)

Definition at line 520 of file sqlext.h.

Referenced by AllDataType::convertToSQL_C_Type(), getCSqlType(), and isValidCType().

#define SQL_C_SHORT   SQL_SMALLINT

Definition at line 484 of file sqlext.h.

Referenced by getCSqlType(), isValidCType(), and CacheTableLoader::load().

#define SQL_C_SLONG   (SQL_C_LONG+SQL_SIGNED_OFFSET)

Definition at line 524 of file sqlext.h.

Referenced by AllDataType::convertToSQL_C_Type(), getCSqlType(), and isValidCType().

#define SQL_C_SSHORT   (SQL_C_SHORT+SQL_SIGNED_OFFSET)

Definition at line 525 of file sqlext.h.

Referenced by AllDataType::convertToSQL_C_Type(), getCSqlType(), and isValidCType().

#define SQL_C_STINYINT   (SQL_TINYINT+SQL_SIGNED_OFFSET)

Definition at line 526 of file sqlext.h.

Referenced by AllDataType::convertToSQL_C_Type(), getCSqlType(), and isValidCType().

#define SQL_C_TIME   SQL_TIME

Definition at line 497 of file sqlext.h.

Referenced by getCSqlType(), and isValidCType().

#define SQL_C_TIMESTAMP   SQL_TIMESTAMP

Definition at line 498 of file sqlext.h.

Referenced by getCSqlType(), and isValidCType().

#define SQL_C_TINYINT   SQL_TINYINT

Definition at line 523 of file sqlext.h.

Referenced by getCSqlType(), and isValidCType().

#define SQL_C_TYPE_DATE   SQL_TYPE_DATE

Definition at line 500 of file sqlext.h.

Referenced by AllDataType::convertToSQL_C_Type(), getCSqlType(), and isValidCType().

#define SQL_C_TYPE_TIME   SQL_TYPE_TIME

Definition at line 501 of file sqlext.h.

Referenced by AllDataType::convertToSQL_C_Type(), getCSqlType(), and isValidCType().

#define SQL_C_TYPE_TIMESTAMP   SQL_TYPE_TIMESTAMP

Definition at line 502 of file sqlext.h.

Referenced by AllDataType::convertToSQL_C_Type(), getCSqlType(), and isValidCType().

#define SQL_C_UBIGINT   (SQL_BIGINT+SQL_UNSIGNED_OFFSET)

Definition at line 521 of file sqlext.h.

Referenced by getCSqlType(), and isValidCType().

#define SQL_C_ULONG   (SQL_C_LONG+SQL_UNSIGNED_OFFSET)

Definition at line 527 of file sqlext.h.

Referenced by getCSqlType(), and isValidCType().

#define SQL_C_USHORT   (SQL_C_SHORT+SQL_UNSIGNED_OFFSET)

Definition at line 528 of file sqlext.h.

Referenced by getCSqlType(), and isValidCType().

#define SQL_C_UTINYINT   (SQL_TINYINT+SQL_UNSIGNED_OFFSET)

Definition at line 529 of file sqlext.h.

Referenced by getCSqlType(), and isValidCType().

#define SQL_C_VARBOOKMARK   SQL_C_BINARY

Definition at line 548 of file sqlext.h.

#define SQL_CA1_ABSOLUTE   0x00000002L

Definition at line 1095 of file sqlext.h.

#define SQL_CA1_BOOKMARK   0x00000008L

Definition at line 1097 of file sqlext.h.

#define SQL_CA1_BULK_ADD   0x00010000L

Definition at line 1116 of file sqlext.h.

#define SQL_CA1_BULK_DELETE_BY_BOOKMARK   0x00040000L

Definition at line 1118 of file sqlext.h.

#define SQL_CA1_BULK_FETCH_BY_BOOKMARK   0x00080000L

Definition at line 1119 of file sqlext.h.

#define SQL_CA1_BULK_UPDATE_BY_BOOKMARK   0x00020000L

Definition at line 1117 of file sqlext.h.

#define SQL_CA1_LOCK_EXCLUSIVE   0x00000080L

Definition at line 1101 of file sqlext.h.

#define SQL_CA1_LOCK_NO_CHANGE   0x00000040L

Definition at line 1100 of file sqlext.h.

#define SQL_CA1_LOCK_UNLOCK   0x00000100L

Definition at line 1102 of file sqlext.h.

#define SQL_CA1_NEXT   0x00000001L

Definition at line 1094 of file sqlext.h.

#define SQL_CA1_POS_DELETE   0x00000800L

Definition at line 1107 of file sqlext.h.

#define SQL_CA1_POS_POSITION   0x00000200L

Definition at line 1105 of file sqlext.h.

#define SQL_CA1_POS_REFRESH   0x00001000L

Definition at line 1108 of file sqlext.h.

#define SQL_CA1_POS_UPDATE   0x00000400L

Definition at line 1106 of file sqlext.h.

#define SQL_CA1_POSITIONED_DELETE   0x00004000L

Definition at line 1112 of file sqlext.h.

#define SQL_CA1_POSITIONED_UPDATE   0x00002000L

Definition at line 1111 of file sqlext.h.

#define SQL_CA1_RELATIVE   0x00000004L

Definition at line 1096 of file sqlext.h.

#define SQL_CA1_SELECT_FOR_UPDATE   0x00008000L

Definition at line 1113 of file sqlext.h.

#define SQL_CA2_CRC_APPROXIMATE   0x00002000L

Definition at line 1148 of file sqlext.h.

#define SQL_CA2_CRC_EXACT   0x00001000L

Definition at line 1147 of file sqlext.h.

#define SQL_CA2_LOCK_CONCURRENCY   0x00000002L

Definition at line 1129 of file sqlext.h.

#define SQL_CA2_MAX_ROWS_AFFECTS_ALL   (SQL_CA2_MAX_ROWS_SELECT | SQL_CA2_MAX_ROWS_INSERT | SQL_CA2_MAX_ROWS_DELETE | SQL_CA2_MAX_ROWS_UPDATE | SQL_CA2_MAX_ROWS_CATALOG)

Definition at line 1144 of file sqlext.h.

#define SQL_CA2_MAX_ROWS_CATALOG   0x00000800L

Definition at line 1143 of file sqlext.h.

#define SQL_CA2_MAX_ROWS_DELETE   0x00000200L

Definition at line 1141 of file sqlext.h.

#define SQL_CA2_MAX_ROWS_INSERT   0x00000100L

Definition at line 1140 of file sqlext.h.

#define SQL_CA2_MAX_ROWS_SELECT   0x00000080L

Definition at line 1139 of file sqlext.h.

#define SQL_CA2_MAX_ROWS_UPDATE   0x00000400L

Definition at line 1142 of file sqlext.h.

#define SQL_CA2_OPT_ROWVER_CONCURRENCY   0x00000004L

Definition at line 1130 of file sqlext.h.

#define SQL_CA2_OPT_VALUES_CONCURRENCY   0x00000008L

Definition at line 1131 of file sqlext.h.

#define SQL_CA2_READ_ONLY_CONCURRENCY   0x00000001L

Definition at line 1128 of file sqlext.h.

#define SQL_CA2_SENSITIVITY_ADDITIONS   0x00000010L

Definition at line 1134 of file sqlext.h.

#define SQL_CA2_SENSITIVITY_DELETIONS   0x00000020L

Definition at line 1135 of file sqlext.h.

#define SQL_CA2_SENSITIVITY_UPDATES   0x00000040L

Definition at line 1136 of file sqlext.h.

#define SQL_CA2_SIMULATE_NON_UNIQUE   0x00004000L

Definition at line 1151 of file sqlext.h.

#define SQL_CA2_SIMULATE_TRY_UNIQUE   0x00008000L

Definition at line 1152 of file sqlext.h.

#define SQL_CA2_SIMULATE_UNIQUE   0x00010000L

Definition at line 1153 of file sqlext.h.

#define SQL_CA_CONSTRAINT_DEFERRABLE   0x00000040L

Definition at line 1455 of file sqlext.h.

#define SQL_CA_CONSTRAINT_INITIALLY_DEFERRED   0x00000010L

Definition at line 1453 of file sqlext.h.

#define SQL_CA_CONSTRAINT_INITIALLY_IMMEDIATE   0x00000020L

Definition at line 1454 of file sqlext.h.

#define SQL_CA_CONSTRAINT_NON_DEFERRABLE   0x00000080L

Definition at line 1456 of file sqlext.h.

#define SQL_CA_CREATE_ASSERTION   0x00000001L

Definition at line 1452 of file sqlext.h.

#define SQL_CASCADE   0

Definition at line 1750 of file sqlext.h.

#define SQL_CATALOG_LOCATION   SQL_QUALIFIER_LOCATION

Definition at line 833 of file sqlext.h.

#define SQL_CATALOG_NAME_SEPARATOR   SQL_QUALIFIER_NAME_SEPARATOR

Definition at line 834 of file sqlext.h.

#define SQL_CATALOG_TERM   SQL_QUALIFIER_TERM

Definition at line 835 of file sqlext.h.

#define SQL_CATALOG_USAGE   SQL_QUALIFIER_USAGE

Definition at line 836 of file sqlext.h.

#define SQL_CB_NON_NULL   0x0001

Definition at line 1177 of file sqlext.h.

#define SQL_CB_NULL   0x0000

Definition at line 1176 of file sqlext.h.

#define SQL_CC_CLOSE   SQL_CB_CLOSE

Definition at line 2005 of file sqlext.h.

#define SQL_CC_DELETE   SQL_CB_DELETE

Definition at line 2003 of file sqlext.h.

#define SQL_CC_PRESERVE   SQL_CB_PRESERVE

Definition at line 2007 of file sqlext.h.

#define SQL_CCOL_CREATE_COLLATION   0x00000001L

Definition at line 1464 of file sqlext.h.

#define SQL_CCS_COLLATE_CLAUSE   0x00000002L

Definition at line 1460 of file sqlext.h.

#define SQL_CCS_CREATE_CHARACTER_SET   0x00000001L

Definition at line 1459 of file sqlext.h.

#define SQL_CCS_LIMITED_COLLATION   0x00000004L

Definition at line 1461 of file sqlext.h.

#define SQL_CD_FALSE   0L

Definition at line 204 of file sqlext.h.

#define SQL_CD_TRUE   1L

Definition at line 203 of file sqlext.h.

#define SQL_CDO_COLLATION   0x00000008L

Definition at line 1470 of file sqlext.h.

#define SQL_CDO_CONSTRAINT   0x00000004L

Definition at line 1469 of file sqlext.h.

#define SQL_CDO_CONSTRAINT_DEFERRABLE   0x00000080L

Definition at line 1474 of file sqlext.h.

#define SQL_CDO_CONSTRAINT_INITIALLY_DEFERRED   0x00000020L

Definition at line 1472 of file sqlext.h.

#define SQL_CDO_CONSTRAINT_INITIALLY_IMMEDIATE   0x00000040L

Definition at line 1473 of file sqlext.h.

#define SQL_CDO_CONSTRAINT_NAME_DEFINITION   0x00000010L

Definition at line 1471 of file sqlext.h.

#define SQL_CDO_CONSTRAINT_NON_DEFERRABLE   0x00000100L

Definition at line 1475 of file sqlext.h.

#define SQL_CDO_CREATE_DOMAIN   0x00000001L

Definition at line 1467 of file sqlext.h.

#define SQL_CDO_DEFAULT   0x00000002L

Definition at line 1468 of file sqlext.h.

#define SQL_CL_END   SQL_QL_END

Definition at line 1371 of file sqlext.h.

#define SQL_CL_START   SQL_QL_START

Definition at line 1370 of file sqlext.h.

#define SQL_CN_ANY   0x0002

Definition at line 1203 of file sqlext.h.

#define SQL_CN_DIFFERENT   0x0001

Definition at line 1202 of file sqlext.h.

#define SQL_CN_NONE   0x0000

Definition at line 1201 of file sqlext.h.

#define SQL_CODE_DAY   3

Definition at line 418 of file sqlext.h.

#define SQL_CODE_DAY_TO_HOUR   8

Definition at line 423 of file sqlext.h.

#define SQL_CODE_DAY_TO_MINUTE   9

Definition at line 424 of file sqlext.h.

#define SQL_CODE_DAY_TO_SECOND   10

Definition at line 425 of file sqlext.h.

#define SQL_CODE_HOUR   4

Definition at line 419 of file sqlext.h.

#define SQL_CODE_HOUR_TO_MINUTE   11

Definition at line 426 of file sqlext.h.

#define SQL_CODE_HOUR_TO_SECOND   12

Definition at line 427 of file sqlext.h.

#define SQL_CODE_MINUTE   5

Definition at line 420 of file sqlext.h.

#define SQL_CODE_MINUTE_TO_SECOND   13

Definition at line 428 of file sqlext.h.

#define SQL_CODE_MONTH   2

Definition at line 417 of file sqlext.h.

#define SQL_CODE_SECOND   6

Definition at line 421 of file sqlext.h.

#define SQL_CODE_YEAR   1

Definition at line 416 of file sqlext.h.

#define SQL_CODE_YEAR_TO_MONTH   7

Definition at line 422 of file sqlext.h.

#define SQL_COL_PRED_BASIC   SQL_ALL_EXCEPT_LIKE

Definition at line 269 of file sqlext.h.

#define SQL_COL_PRED_CHAR   SQL_LIKE_ONLY

Definition at line 268 of file sqlext.h.

#define SQL_COLATT_OPT_MAX   SQL_COLUMN_LABEL

Definition at line 597 of file sqlext.h.

#define SQL_COLATT_OPT_MIN   SQL_COLUMN_COUNT

Definition at line 602 of file sqlext.h.

#define SQL_COLUMN_ALIAS   87

Definition at line 781 of file sqlext.h.

#define SQL_COLUMN_AUTO_INCREMENT   11

Definition at line 589 of file sqlext.h.

#define SQL_COLUMN_CASE_SENSITIVE   12

Definition at line 590 of file sqlext.h.

#define SQL_COLUMN_COUNT   0

Definition at line 578 of file sqlext.h.

Referenced by CSqlOdbcStmt::SQLColAttribute().

#define SQL_COLUMN_DISPLAY_SIZE   6

Definition at line 584 of file sqlext.h.

#define SQL_COLUMN_IGNORE   SQL_IGNORE

Definition at line 563 of file sqlext.h.

#define SQL_COLUMN_LABEL   18

Definition at line 596 of file sqlext.h.

#define SQL_COLUMN_LENGTH   3

Definition at line 581 of file sqlext.h.

Referenced by CSqlOdbcStmt::SQLColAttribute().

#define SQL_COLUMN_MONEY   9

Definition at line 587 of file sqlext.h.

#define SQL_COLUMN_NAME   1

Definition at line 579 of file sqlext.h.

Referenced by CSqlOdbcStmt::SQLColAttribute().

#define SQL_COLUMN_NULLABLE   7

Definition at line 585 of file sqlext.h.

Referenced by CSqlOdbcStmt::SQLColAttribute().

#define SQL_COLUMN_NUMBER_UNKNOWN   (-2)

Definition at line 556 of file sqlext.h.

#define SQL_COLUMN_OWNER_NAME   16

Definition at line 594 of file sqlext.h.

#define SQL_COLUMN_PRECISION   4

Definition at line 582 of file sqlext.h.

Referenced by CSqlOdbcStmt::SQLColAttribute().

#define SQL_COLUMN_QUALIFIER_NAME   17

Definition at line 595 of file sqlext.h.

#define SQL_COLUMN_SCALE   5

Definition at line 583 of file sqlext.h.

Referenced by CSqlOdbcStmt::SQLColAttribute().

#define SQL_COLUMN_SEARCHABLE   13

Definition at line 591 of file sqlext.h.

#define SQL_COLUMN_TABLE_NAME   15

Definition at line 593 of file sqlext.h.

#define SQL_COLUMN_TYPE   2

Definition at line 580 of file sqlext.h.

Referenced by CSqlOdbcStmt::SQLColAttribute().

#define SQL_COLUMN_TYPE_NAME   14

Definition at line 592 of file sqlext.h.

#define SQL_COLUMN_UNSIGNED   8

Definition at line 586 of file sqlext.h.

#define SQL_COLUMN_UPDATABLE   10

Definition at line 588 of file sqlext.h.

#define SQL_CONCAT_NULL_BEHAVIOR   22

Definition at line 731 of file sqlext.h.

#define SQL_CONCUR_DEFAULT   SQL_CONCUR_READ_ONLY

Definition at line 317 of file sqlext.h.

#define SQL_CONCUR_LOCK   2

Definition at line 314 of file sqlext.h.

#define SQL_CONCUR_READ_ONLY   1

Definition at line 313 of file sqlext.h.

#define SQL_CONCUR_ROWVER   3

Definition at line 315 of file sqlext.h.

#define SQL_CONCUR_TIMESTAMP   SQL_CONCUR_ROWVER

Definition at line 2001 of file sqlext.h.

#define SQL_CONCUR_VALUES   4

Definition at line 316 of file sqlext.h.

#define SQL_CONCURRENCY   7

Definition at line 220 of file sqlext.h.

#define SQL_CONVERT_BIGINT   53

Definition at line 751 of file sqlext.h.

#define SQL_CONVERT_BINARY   54

Definition at line 752 of file sqlext.h.

#define SQL_CONVERT_BIT   55

Definition at line 753 of file sqlext.h.

#define SQL_CONVERT_CHAR   56

Definition at line 754 of file sqlext.h.

#define SQL_CONVERT_DATE   57

Definition at line 755 of file sqlext.h.

#define SQL_CONVERT_DECIMAL   58

Definition at line 756 of file sqlext.h.

#define SQL_CONVERT_DOUBLE   59

Definition at line 757 of file sqlext.h.

#define SQL_CONVERT_FLOAT   60

Definition at line 758 of file sqlext.h.

#define SQL_CONVERT_FUNCTIONS   48

Definition at line 746 of file sqlext.h.

#define SQL_CONVERT_INTEGER   61

Definition at line 759 of file sqlext.h.

#define SQL_CONVERT_INTERVAL_DAY_TIME   123

Definition at line 838 of file sqlext.h.

#define SQL_CONVERT_INTERVAL_YEAR_MONTH   124

Definition at line 839 of file sqlext.h.

#define SQL_CONVERT_LONGVARBINARY   71

Definition at line 769 of file sqlext.h.

#define SQL_CONVERT_LONGVARCHAR   62

Definition at line 760 of file sqlext.h.

#define SQL_CONVERT_NUMERIC   63

Definition at line 761 of file sqlext.h.

#define SQL_CONVERT_REAL   64

Definition at line 762 of file sqlext.h.

#define SQL_CONVERT_SMALLINT   65

Definition at line 763 of file sqlext.h.

#define SQL_CONVERT_TIME   66

Definition at line 764 of file sqlext.h.

#define SQL_CONVERT_TIMESTAMP   67

Definition at line 765 of file sqlext.h.

#define SQL_CONVERT_TINYINT   68

Definition at line 766 of file sqlext.h.

#define SQL_CONVERT_VARBINARY   69

Definition at line 767 of file sqlext.h.

#define SQL_CONVERT_VARCHAR   70

Definition at line 768 of file sqlext.h.

#define SQL_CONVERT_WCHAR   122

Definition at line 837 of file sqlext.h.

#define SQL_CONVERT_WLONGVARCHAR   125

Definition at line 840 of file sqlext.h.

#define SQL_CONVERT_WVARCHAR   126

Definition at line 841 of file sqlext.h.

#define SQL_CORRELATION_NAME   74

Definition at line 771 of file sqlext.h.

#define SQL_CP_DEFAULT   SQL_CP_OFF

Definition at line 91 of file sqlext.h.

#define SQL_CP_MATCH_DEFAULT   SQL_CP_STRICT_MATCH

Definition at line 96 of file sqlext.h.

#define SQL_CP_OFF   0UL

Definition at line 88 of file sqlext.h.

#define SQL_CP_ONE_PER_DRIVER   1UL

Definition at line 89 of file sqlext.h.

#define SQL_CP_ONE_PER_HENV   2UL

Definition at line 90 of file sqlext.h.

#define SQL_CP_RELAXED_MATCH   1UL

Definition at line 95 of file sqlext.h.

#define SQL_CP_STRICT_MATCH   0UL

Definition at line 94 of file sqlext.h.

#define SQL_CR_CLOSE   SQL_CB_CLOSE

Definition at line 2006 of file sqlext.h.

#define SQL_CR_DELETE   SQL_CB_DELETE

Definition at line 2004 of file sqlext.h.

#define SQL_CR_PRESERVE   SQL_CB_PRESERVE

Definition at line 2008 of file sqlext.h.

#define SQL_CREATE_ASSERTION   127

Definition at line 842 of file sqlext.h.

#define SQL_CREATE_CHARACTER_SET   128

Definition at line 843 of file sqlext.h.

#define SQL_CREATE_COLLATION   129

Definition at line 844 of file sqlext.h.

#define SQL_CREATE_DOMAIN   130

Definition at line 845 of file sqlext.h.

#define SQL_CREATE_SCHEMA   131

Definition at line 846 of file sqlext.h.

#define SQL_CREATE_TABLE   132

Definition at line 847 of file sqlext.h.

#define SQL_CREATE_TRANSLATION   133

Definition at line 848 of file sqlext.h.

#define SQL_CREATE_VIEW   134

Definition at line 849 of file sqlext.h.

#define SQL_CS_AUTHORIZATION   0x00000002L

Definition at line 1445 of file sqlext.h.

#define SQL_CS_CREATE_SCHEMA   0x00000001L

Definition at line 1444 of file sqlext.h.

#define SQL_CS_DEFAULT_CHARACTER_SET   0x00000004L

Definition at line 1446 of file sqlext.h.

#define SQL_CT_COLUMN_COLLATION   0x00000800L

Definition at line 1489 of file sqlext.h.

#define SQL_CT_COLUMN_CONSTRAINT   0x00000200L

Definition at line 1487 of file sqlext.h.

#define SQL_CT_COLUMN_DEFAULT   0x00000400L

Definition at line 1488 of file sqlext.h.

#define SQL_CT_COMMIT_DELETE   0x00000004L

Definition at line 1480 of file sqlext.h.

#define SQL_CT_COMMIT_PRESERVE   0x00000002L

Definition at line 1479 of file sqlext.h.

#define SQL_CT_CONSTRAINT_DEFERRABLE   0x00000080L

Definition at line 1485 of file sqlext.h.

#define SQL_CT_CONSTRAINT_INITIALLY_DEFERRED   0x00000020L

Definition at line 1483 of file sqlext.h.

#define SQL_CT_CONSTRAINT_INITIALLY_IMMEDIATE   0x00000040L

Definition at line 1484 of file sqlext.h.

#define SQL_CT_CONSTRAINT_NAME_DEFINITION   0x00002000L

Definition at line 1491 of file sqlext.h.

#define SQL_CT_CONSTRAINT_NON_DEFERRABLE   0x00000100L

Definition at line 1486 of file sqlext.h.

#define SQL_CT_CREATE_TABLE   0x00000001L

Definition at line 1478 of file sqlext.h.

#define SQL_CT_GLOBAL_TEMPORARY   0x00000008L

Definition at line 1481 of file sqlext.h.

#define SQL_CT_LOCAL_TEMPORARY   0x00000010L

Definition at line 1482 of file sqlext.h.

#define SQL_CT_TABLE_CONSTRAINT   0x00001000L

Definition at line 1490 of file sqlext.h.

#define SQL_CTR_CREATE_TRANSLATION   0x00000001L

Definition at line 1449 of file sqlext.h.

#define SQL_CU_DML_STATEMENTS   SQL_QU_DML_STATEMENTS

Definition at line 1272 of file sqlext.h.

#define SQL_CU_INDEX_DEFINITION   SQL_QU_INDEX_DEFINITION

Definition at line 1275 of file sqlext.h.

#define SQL_CU_PRIVILEGE_DEFINITION   SQL_QU_PRIVILEGE_DEFINITION

Definition at line 1276 of file sqlext.h.

#define SQL_CU_PROCEDURE_INVOCATION   SQL_QU_PROCEDURE_INVOCATION

Definition at line 1273 of file sqlext.h.

#define SQL_CU_TABLE_DEFINITION   SQL_QU_TABLE_DEFINITION

Definition at line 1274 of file sqlext.h.

#define SQL_CUR_DEFAULT   SQL_CUR_USE_DRIVER

Definition at line 190 of file sqlext.h.

#define SQL_CUR_USE_DRIVER   2UL

Definition at line 189 of file sqlext.h.

#define SQL_CUR_USE_IF_NEEDED   0UL

Definition at line 187 of file sqlext.h.

#define SQL_CUR_USE_ODBC   1UL

Definition at line 188 of file sqlext.h.

#define SQL_CURRENT_QUALIFIER   109

Definition at line 112 of file sqlext.h.

#define SQL_CURSOR_DYNAMIC   2UL

Definition at line 322 of file sqlext.h.

#define SQL_CURSOR_FORWARD_ONLY   0UL

Definition at line 320 of file sqlext.h.

#define SQL_CURSOR_KEYSET_DRIVEN   1UL

Definition at line 321 of file sqlext.h.

#define SQL_CURSOR_ROLLBACK_BEHAVIOR   24

Definition at line 732 of file sqlext.h.

#define SQL_CURSOR_STATIC   3UL

Definition at line 323 of file sqlext.h.

#define SQL_CURSOR_TYPE   6

Definition at line 219 of file sqlext.h.

#define SQL_CURSOR_TYPE_DEFAULT   SQL_CURSOR_FORWARD_ONLY

Definition at line 324 of file sqlext.h.

#define SQL_CV_CASCADED   0x00000004L

Definition at line 1311 of file sqlext.h.

#define SQL_CV_CHECK_OPTION   0x00000002L

Definition at line 1310 of file sqlext.h.

#define SQL_CV_CREATE_VIEW   0x00000001L

Definition at line 1309 of file sqlext.h.

#define SQL_CV_LOCAL   0x00000008L

Definition at line 1312 of file sqlext.h.

#define SQL_CVT_BIGINT   0x00004000L

Definition at line 937 of file sqlext.h.

#define SQL_CVT_BINARY   0x00000400L

Definition at line 933 of file sqlext.h.

#define SQL_CVT_BIT   0x00001000L

Definition at line 935 of file sqlext.h.

#define SQL_CVT_CHAR   0x00000001L

Definition at line 923 of file sqlext.h.

#define SQL_CVT_DATE   0x00008000L

Definition at line 938 of file sqlext.h.

#define SQL_CVT_DECIMAL   0x00000004L

Definition at line 925 of file sqlext.h.

#define SQL_CVT_DOUBLE   0x00000080L

Definition at line 930 of file sqlext.h.

#define SQL_CVT_FLOAT   0x00000020L

Definition at line 928 of file sqlext.h.

#define SQL_CVT_INTEGER   0x00000008L

Definition at line 926 of file sqlext.h.

#define SQL_CVT_INTERVAL_DAY_TIME   0x00100000L

Definition at line 944 of file sqlext.h.

#define SQL_CVT_INTERVAL_YEAR_MONTH   0x00080000L

Definition at line 943 of file sqlext.h.

#define SQL_CVT_LONGVARBINARY   0x00040000L

Definition at line 941 of file sqlext.h.

#define SQL_CVT_LONGVARCHAR   0x00000200L

Definition at line 932 of file sqlext.h.

#define SQL_CVT_NUMERIC   0x00000002L

Definition at line 924 of file sqlext.h.

#define SQL_CVT_REAL   0x00000040L

Definition at line 929 of file sqlext.h.

#define SQL_CVT_SMALLINT   0x00000010L

Definition at line 927 of file sqlext.h.

#define SQL_CVT_TIME   0x00010000L

Definition at line 939 of file sqlext.h.

#define SQL_CVT_TIMESTAMP   0x00020000L

Definition at line 940 of file sqlext.h.

#define SQL_CVT_TINYINT   0x00002000L

Definition at line 936 of file sqlext.h.

#define SQL_CVT_VARBINARY   0x00000800L

Definition at line 934 of file sqlext.h.

#define SQL_CVT_VARCHAR   0x00000100L

Definition at line 931 of file sqlext.h.

#define SQL_CVT_WCHAR   0x00200000L

Definition at line 945 of file sqlext.h.

#define SQL_CVT_WLONGVARCHAR   0x00400000L

Definition at line 946 of file sqlext.h.

#define SQL_CVT_WVARCHAR   0x00800000L

Definition at line 947 of file sqlext.h.

#define SQL_DA_DROP_ASSERTION   0x00000001L

Definition at line 1514 of file sqlext.h.

#define SQL_DATABASE_NAME   16

Definition at line 1998 of file sqlext.h.

#define SQL_DATE   9

Definition at line 397 of file sqlext.h.

Referenced by getSQLType(), getSQLTypeName(), isValidSQLType(), and CSqlOdbcStmt::SQLColAttribute().

#define SQL_DATETIME_LITERALS   119

Definition at line 828 of file sqlext.h.

#define SQL_DB_DEFAULT   SQL_DB_RETURN_TO_POOL

Definition at line 196 of file sqlext.h.

#define SQL_DB_DISCONNECT   1UL

Definition at line 195 of file sqlext.h.

#define SQL_DB_RETURN_TO_POOL   0UL

Definition at line 194 of file sqlext.h.

#define SQL_DC_DROP_COLLATION   0x00000001L

Definition at line 1498 of file sqlext.h.

#define SQL_DCS_DROP_CHARACTER_SET   0x00000001L

Definition at line 1511 of file sqlext.h.

#define SQL_DD_CASCADE   0x00000004L

Definition at line 1503 of file sqlext.h.

#define SQL_DD_DROP_DOMAIN   0x00000001L

Definition at line 1501 of file sqlext.h.

#define SQL_DD_RESTRICT   0x00000002L

Definition at line 1502 of file sqlext.h.

#define SQL_DDL_INDEX   170

Definition at line 889 of file sqlext.h.

#define SQL_DEFAULT_PARAM   (-5)

Definition at line 560 of file sqlext.h.

#define SQL_DELETE   3

Definition at line 1651 of file sqlext.h.

#define SQL_DELETE_BY_BOOKMARK   6

Definition at line 1658 of file sqlext.h.

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

Definition at line 1675 of file sqlext.h.

#define SQL_DESC_ARRAY_SIZE   20

Definition at line 355 of file sqlext.h.

#define SQL_DESC_ARRAY_STATUS_PTR   21

Definition at line 356 of file sqlext.h.

#define SQL_DESC_AUTO_UNIQUE_VALUE   SQL_COLUMN_AUTO_INCREMENT

Definition at line 357 of file sqlext.h.

Referenced by CSqlOdbcStmt::SQLColAttribute().

#define SQL_DESC_BASE_COLUMN_NAME   22

Definition at line 358 of file sqlext.h.

#define SQL_DESC_BASE_TABLE_NAME   23

Definition at line 359 of file sqlext.h.

#define SQL_DESC_BIND_OFFSET_PTR   24

Definition at line 360 of file sqlext.h.

#define SQL_DESC_BIND_TYPE   25

Definition at line 361 of file sqlext.h.

#define SQL_DESC_CASE_SENSITIVE   SQL_COLUMN_CASE_SENSITIVE

Definition at line 362 of file sqlext.h.

Referenced by CSqlOdbcStmt::SQLColAttribute().

#define SQL_DESC_CATALOG_NAME   SQL_COLUMN_QUALIFIER_NAME

Definition at line 363 of file sqlext.h.

#define SQL_DESC_CONCISE_TYPE   SQL_COLUMN_TYPE

Definition at line 364 of file sqlext.h.

#define SQL_DESC_DATETIME_INTERVAL_PRECISION   26

Definition at line 365 of file sqlext.h.

#define SQL_DESC_DISPLAY_SIZE   SQL_COLUMN_DISPLAY_SIZE

Definition at line 366 of file sqlext.h.

#define SQL_DESC_FIXED_PREC_SCALE   SQL_COLUMN_MONEY

Definition at line 367 of file sqlext.h.

Referenced by CSqlOdbcStmt::SQLColAttribute().

#define SQL_DESC_LABEL   SQL_COLUMN_LABEL

Definition at line 368 of file sqlext.h.

#define SQL_DESC_LITERAL_PREFIX   27

Definition at line 369 of file sqlext.h.

#define SQL_DESC_LITERAL_SUFFIX   28

Definition at line 370 of file sqlext.h.

#define SQL_DESC_LOCAL_TYPE_NAME   29

Definition at line 371 of file sqlext.h.

#define SQL_DESC_MAXIMUM_SCALE   30

Definition at line 372 of file sqlext.h.

#define SQL_DESC_MINIMUM_SCALE   31

Definition at line 373 of file sqlext.h.

#define SQL_DESC_NUM_PREC_RADIX   32

Definition at line 374 of file sqlext.h.

#define SQL_DESC_PARAMETER_TYPE   33

Definition at line 375 of file sqlext.h.

#define SQL_DESC_ROWS_PROCESSED_PTR   34

Definition at line 376 of file sqlext.h.

#define SQL_DESC_ROWVER   35

Definition at line 378 of file sqlext.h.

#define SQL_DESC_SCHEMA_NAME   SQL_COLUMN_OWNER_NAME

Definition at line 380 of file sqlext.h.

#define SQL_DESC_SEARCHABLE   SQL_COLUMN_SEARCHABLE

Definition at line 381 of file sqlext.h.

Referenced by CSqlOdbcStmt::SQLColAttribute().

#define SQL_DESC_TABLE_NAME   SQL_COLUMN_TABLE_NAME

Definition at line 383 of file sqlext.h.

#define SQL_DESC_TYPE_NAME   SQL_COLUMN_TYPE_NAME

Definition at line 382 of file sqlext.h.

Referenced by CSqlOdbcStmt::SQLColAttribute().

#define SQL_DESC_UNSIGNED   SQL_COLUMN_UNSIGNED

Definition at line 384 of file sqlext.h.

Referenced by CSqlOdbcStmt::SQLColAttribute().

#define SQL_DESC_UPDATABLE   SQL_COLUMN_UPDATABLE

Definition at line 385 of file sqlext.h.

Referenced by CSqlOdbcStmt::SQLColAttribute().

#define SQL_DI_CREATE_INDEX   0x00000001L

Definition at line 1494 of file sqlext.h.

#define SQL_DI_DROP_INDEX   0x00000002L

Definition at line 1495 of file sqlext.h.

#define SQL_DIAG_COLUMN_NUMBER   (-1247)

Definition at line 393 of file sqlext.h.

#define SQL_DIAG_CURSOR_ROW_COUNT   (-1249)

Definition at line 391 of file sqlext.h.

#define SQL_DIAG_ROW_NUMBER   (-1248)

Definition at line 392 of file sqlext.h.

#define SQL_DL_SQL92_DATE   0x00000001L

Definition at line 1352 of file sqlext.h.

#define SQL_DL_SQL92_INTERVAL_DAY   0x00000020L

Definition at line 1357 of file sqlext.h.

#define SQL_DL_SQL92_INTERVAL_DAY_TO_HOUR   0x00000400L

Definition at line 1362 of file sqlext.h.

#define SQL_DL_SQL92_INTERVAL_DAY_TO_MINUTE   0x00000800L

Definition at line 1363 of file sqlext.h.

#define SQL_DL_SQL92_INTERVAL_DAY_TO_SECOND   0x00001000L

Definition at line 1364 of file sqlext.h.

#define SQL_DL_SQL92_INTERVAL_HOUR   0x00000040L

Definition at line 1358 of file sqlext.h.

#define SQL_DL_SQL92_INTERVAL_HOUR_TO_MINUTE   0x00002000L

Definition at line 1365 of file sqlext.h.

#define SQL_DL_SQL92_INTERVAL_HOUR_TO_SECOND   0x00004000L

Definition at line 1366 of file sqlext.h.

#define SQL_DL_SQL92_INTERVAL_MINUTE   0x00000080L

Definition at line 1359 of file sqlext.h.

#define SQL_DL_SQL92_INTERVAL_MINUTE_TO_SECOND   0x00008000L

Definition at line 1367 of file sqlext.h.

#define SQL_DL_SQL92_INTERVAL_MONTH   0x00000010L

Definition at line 1356 of file sqlext.h.

#define SQL_DL_SQL92_INTERVAL_SECOND   0x00000100L

Definition at line 1360 of file sqlext.h.

#define SQL_DL_SQL92_INTERVAL_YEAR   0x00000008L

Definition at line 1355 of file sqlext.h.

#define SQL_DL_SQL92_INTERVAL_YEAR_TO_MONTH   0x00000200L

Definition at line 1361 of file sqlext.h.

#define SQL_DL_SQL92_TIME   0x00000002L

Definition at line 1353 of file sqlext.h.

#define SQL_DL_SQL92_TIMESTAMP   0x00000004L

Definition at line 1354 of file sqlext.h.

#define SQL_DM_VER   171

Definition at line 890 of file sqlext.h.

#define SQL_DRIVER_COMPLETE   1

Definition at line 1705 of file sqlext.h.

#define SQL_DRIVER_COMPLETE_REQUIRED   3

Definition at line 1707 of file sqlext.h.

#define SQL_DRIVER_HDBC   3

Definition at line 720 of file sqlext.h.

#define SQL_DRIVER_HDESC   135

Definition at line 850 of file sqlext.h.

#define SQL_DRIVER_HENV   4

Definition at line 721 of file sqlext.h.

#define SQL_DRIVER_HLIB   76

Definition at line 773 of file sqlext.h.

#define SQL_DRIVER_HSTMT   5

Definition at line 722 of file sqlext.h.

#define SQL_DRIVER_NAME   6

Definition at line 723 of file sqlext.h.

#define SQL_DRIVER_NOPROMPT   0

Definition at line 1704 of file sqlext.h.

Referenced by SqlOdbcConnection::connect(), and CacheTableLoader::load().

#define SQL_DRIVER_ODBC_VER   77

Definition at line 774 of file sqlext.h.

#define SQL_DRIVER_PROMPT   2

Definition at line 1706 of file sqlext.h.

#define SQL_DRIVER_VER   7

Definition at line 724 of file sqlext.h.

#define SQL_DROP_ASSERTION   136

Definition at line 851 of file sqlext.h.

#define SQL_DROP_CHARACTER_SET   137

Definition at line 852 of file sqlext.h.

#define SQL_DROP_COLLATION   138

Definition at line 853 of file sqlext.h.

#define SQL_DROP_DOMAIN   139

Definition at line 854 of file sqlext.h.

#define SQL_DROP_SCHEMA   140

Definition at line 855 of file sqlext.h.

#define SQL_DROP_TABLE   141

Definition at line 856 of file sqlext.h.

#define SQL_DROP_TRANSLATION   142

Definition at line 857 of file sqlext.h.

#define SQL_DROP_VIEW   143

Definition at line 858 of file sqlext.h.

#define SQL_DS_CASCADE   0x00000004L

Definition at line 1508 of file sqlext.h.

#define SQL_DS_DROP_SCHEMA   0x00000001L

Definition at line 1506 of file sqlext.h.

#define SQL_DS_RESTRICT   0x00000002L

Definition at line 1507 of file sqlext.h.

#define SQL_DT_CASCADE   0x00000004L

Definition at line 1519 of file sqlext.h.

#define SQL_DT_DROP_TABLE   0x00000001L

Definition at line 1517 of file sqlext.h.

#define SQL_DT_RESTRICT   0x00000002L

Definition at line 1518 of file sqlext.h.

#define SQL_DTC_DONE   0L

Definition at line 199 of file sqlext.h.

#define SQL_DTC_ENLIST_EXPENSIVE   0x00000001L

Definition at line 1634 of file sqlext.h.

#define SQL_DTC_TRANSITION_COST   1750

Definition at line 895 of file sqlext.h.

#define SQL_DTC_UNENLIST_EXPENSIVE   0x00000002L

Definition at line 1635 of file sqlext.h.

#define SQL_DTR_DROP_TRANSLATION   0x00000001L

Definition at line 1522 of file sqlext.h.

#define SQL_DV_CASCADE   0x00000004L

Definition at line 1527 of file sqlext.h.

#define SQL_DV_DROP_VIEW   0x00000001L

Definition at line 1525 of file sqlext.h.

#define SQL_DV_RESTRICT   0x00000002L

Definition at line 1526 of file sqlext.h.

#define SQL_DYNAMIC_CURSOR_ATTRIBUTES1   144

Definition at line 859 of file sqlext.h.

#define SQL_DYNAMIC_CURSOR_ATTRIBUTES2   145

Definition at line 860 of file sqlext.h.

#define SQL_ENSURE   1

Definition at line 1688 of file sqlext.h.

#define SQL_ENTIRE_ROWSET   0

Definition at line 1645 of file sqlext.h.

#define SQL_EXPRESSIONS_IN_ORDERBY   27

Definition at line 733 of file sqlext.h.

#define SQL_FD_FETCH_BOOKMARK   0x00000080L

Definition at line 1192 of file sqlext.h.

#define SQL_FD_FETCH_PREV   SQL_FD_FETCH_PRIOR

Definition at line 1999 of file sqlext.h.

#define SQL_FETCH_BOOKMARK   8

Definition at line 1722 of file sqlext.h.

#define SQL_FETCH_BY_BOOKMARK   7

Definition at line 1659 of file sqlext.h.

#define SQL_FETCH_FIRST_SYSTEM   32

Definition at line 1640 of file sqlext.h.

#define SQL_FETCH_FIRST_USER   31

Definition at line 1639 of file sqlext.h.

#define SQL_FETCH_PREV   SQL_FETCH_PRIOR

Definition at line 2000 of file sqlext.h.

#define SQL_FILE_CATALOG   SQL_FILE_QUALIFIER

Definition at line 1220 of file sqlext.h.

#define SQL_FILE_NOT_SUPPORTED   0x0000

Definition at line 1217 of file sqlext.h.

#define SQL_FILE_QUALIFIER   0x0002

Definition at line 1219 of file sqlext.h.

#define SQL_FILE_TABLE   0x0001

Definition at line 1218 of file sqlext.h.

#define SQL_FILE_USAGE   84

Definition at line 780 of file sqlext.h.

#define SQL_FN_CVT_CAST   0x00000002L

Definition at line 955 of file sqlext.h.

#define SQL_FN_CVT_CONVERT   0x00000001L

Definition at line 953 of file sqlext.h.

#define SQL_FN_NUM_ABS   0x00000001L

Definition at line 1002 of file sqlext.h.

#define SQL_FN_NUM_ACOS   0x00000002L

Definition at line 1003 of file sqlext.h.

#define SQL_FN_NUM_ASIN   0x00000004L

Definition at line 1004 of file sqlext.h.

#define SQL_FN_NUM_ATAN   0x00000008L

Definition at line 1005 of file sqlext.h.

#define SQL_FN_NUM_ATAN2   0x00000010L

Definition at line 1006 of file sqlext.h.

#define SQL_FN_NUM_CEILING   0x00000020L

Definition at line 1007 of file sqlext.h.

#define SQL_FN_NUM_COS   0x00000040L

Definition at line 1008 of file sqlext.h.

#define SQL_FN_NUM_COT   0x00000080L

Definition at line 1009 of file sqlext.h.

#define SQL_FN_NUM_DEGREES   0x00040000L

Definition at line 1020 of file sqlext.h.

#define SQL_FN_NUM_EXP   0x00000100L

Definition at line 1010 of file sqlext.h.

#define SQL_FN_NUM_FLOOR   0x00000200L

Definition at line 1011 of file sqlext.h.

#define SQL_FN_NUM_LOG   0x00000400L

Definition at line 1012 of file sqlext.h.

#define SQL_FN_NUM_LOG10   0x00080000L

Definition at line 1021 of file sqlext.h.

#define SQL_FN_NUM_MOD   0x00000800L

Definition at line 1013 of file sqlext.h.

#define SQL_FN_NUM_PI   0x00010000L

Definition at line 1018 of file sqlext.h.

#define SQL_FN_NUM_POWER   0x00100000L

Definition at line 1022 of file sqlext.h.

#define SQL_FN_NUM_RADIANS   0x00200000L

Definition at line 1023 of file sqlext.h.

#define SQL_FN_NUM_RAND   0x00020000L

Definition at line 1019 of file sqlext.h.

#define SQL_FN_NUM_ROUND   0x00400000L

Definition at line 1024 of file sqlext.h.

#define SQL_FN_NUM_SIGN   0x00001000L

Definition at line 1014 of file sqlext.h.

#define SQL_FN_NUM_SIN   0x00002000L

Definition at line 1015 of file sqlext.h.

#define SQL_FN_NUM_SQRT   0x00004000L

Definition at line 1016 of file sqlext.h.

#define SQL_FN_NUM_TAN   0x00008000L

Definition at line 1017 of file sqlext.h.

#define SQL_FN_NUM_TRUNCATE   0x00800000L

Definition at line 1025 of file sqlext.h.

#define SQL_FN_STR_ASCII   0x00002000L

Definition at line 974 of file sqlext.h.

#define SQL_FN_STR_BIT_LENGTH   0x00080000L

Definition at line 981 of file sqlext.h.

#define SQL_FN_STR_CHAR   0x00004000L

Definition at line 975 of file sqlext.h.

#define SQL_FN_STR_CHAR_LENGTH   0x00100000L

Definition at line 982 of file sqlext.h.

#define SQL_FN_STR_CHARACTER_LENGTH   0x00200000L

Definition at line 983 of file sqlext.h.

#define SQL_FN_STR_CONCAT   0x00000001L

Definition at line 961 of file sqlext.h.

#define SQL_FN_STR_DIFFERENCE   0x00008000L

Definition at line 976 of file sqlext.h.

#define SQL_FN_STR_INSERT   0x00000002L

Definition at line 962 of file sqlext.h.

#define SQL_FN_STR_LCASE   0x00000040L

Definition at line 967 of file sqlext.h.

#define SQL_FN_STR_LEFT   0x00000004L

Definition at line 963 of file sqlext.h.

#define SQL_FN_STR_LENGTH   0x00000010L

Definition at line 965 of file sqlext.h.

#define SQL_FN_STR_LOCATE   0x00000020L

Definition at line 966 of file sqlext.h.

#define SQL_FN_STR_LOCATE_2   0x00010000L

Definition at line 977 of file sqlext.h.

#define SQL_FN_STR_LTRIM   0x00000008L

Definition at line 964 of file sqlext.h.

#define SQL_FN_STR_OCTET_LENGTH   0x00400000L

Definition at line 984 of file sqlext.h.

#define SQL_FN_STR_POSITION   0x00800000L

Definition at line 985 of file sqlext.h.

#define SQL_FN_STR_REPEAT   0x00000080L

Definition at line 968 of file sqlext.h.

#define SQL_FN_STR_REPLACE   0x00000100L

Definition at line 969 of file sqlext.h.

#define SQL_FN_STR_RIGHT   0x00000200L

Definition at line 970 of file sqlext.h.

#define SQL_FN_STR_RTRIM   0x00000400L

Definition at line 971 of file sqlext.h.

#define SQL_FN_STR_SOUNDEX   0x00020000L

Definition at line 978 of file sqlext.h.

#define SQL_FN_STR_SPACE   0x00040000L

Definition at line 979 of file sqlext.h.

#define SQL_FN_STR_SUBSTRING   0x00000800L

Definition at line 972 of file sqlext.h.

#define SQL_FN_STR_UCASE   0x00001000L

Definition at line 973 of file sqlext.h.

#define SQL_FN_SYS_DBNAME   0x00000002L

Definition at line 1073 of file sqlext.h.

#define SQL_FN_SYS_IFNULL   0x00000004L

Definition at line 1074 of file sqlext.h.

#define SQL_FN_SYS_USERNAME   0x00000001L

Definition at line 1072 of file sqlext.h.

#define SQL_FN_TD_CURDATE   0x00000002L

Definition at line 1040 of file sqlext.h.

#define SQL_FN_TD_CURRENT_DATE   0x00020000L

Definition at line 1057 of file sqlext.h.

#define SQL_FN_TD_CURRENT_TIME   0x00040000L

Definition at line 1058 of file sqlext.h.

#define SQL_FN_TD_CURRENT_TIMESTAMP   0x00080000L

Definition at line 1059 of file sqlext.h.

#define SQL_FN_TD_CURTIME   0x00000200L

Definition at line 1048 of file sqlext.h.

#define SQL_FN_TD_DAYNAME   0x00008000L

Definition at line 1054 of file sqlext.h.

#define SQL_FN_TD_DAYOFMONTH   0x00000004L

Definition at line 1041 of file sqlext.h.

#define SQL_FN_TD_DAYOFWEEK   0x00000008L

Definition at line 1042 of file sqlext.h.

#define SQL_FN_TD_DAYOFYEAR   0x00000010L

Definition at line 1043 of file sqlext.h.

#define SQL_FN_TD_EXTRACT   0x00100000L

Definition at line 1060 of file sqlext.h.

#define SQL_FN_TD_HOUR   0x00000400L

Definition at line 1049 of file sqlext.h.

#define SQL_FN_TD_MINUTE   0x00000800L

Definition at line 1050 of file sqlext.h.

#define SQL_FN_TD_MONTH   0x00000020L

Definition at line 1044 of file sqlext.h.

#define SQL_FN_TD_MONTHNAME   0x00010000L

Definition at line 1055 of file sqlext.h.

#define SQL_FN_TD_NOW   0x00000001L

Definition at line 1039 of file sqlext.h.

#define SQL_FN_TD_QUARTER   0x00000040L

Definition at line 1045 of file sqlext.h.

#define SQL_FN_TD_SECOND   0x00001000L

Definition at line 1051 of file sqlext.h.

#define SQL_FN_TD_TIMESTAMPADD   0x00002000L

Definition at line 1052 of file sqlext.h.

#define SQL_FN_TD_TIMESTAMPDIFF   0x00004000L

Definition at line 1053 of file sqlext.h.

#define SQL_FN_TD_WEEK   0x00000080L

Definition at line 1046 of file sqlext.h.

#define SQL_FN_TD_YEAR   0x00000100L

Definition at line 1047 of file sqlext.h.

#define SQL_FN_TSI_DAY   0x00000010L

Definition at line 1082 of file sqlext.h.

#define SQL_FN_TSI_FRAC_SECOND   0x00000001L

Definition at line 1078 of file sqlext.h.

#define SQL_FN_TSI_HOUR   0x00000008L

Definition at line 1081 of file sqlext.h.

#define SQL_FN_TSI_MINUTE   0x00000004L

Definition at line 1080 of file sqlext.h.

#define SQL_FN_TSI_MONTH   0x00000040L

Definition at line 1084 of file sqlext.h.

#define SQL_FN_TSI_QUARTER   0x00000080L

Definition at line 1085 of file sqlext.h.

#define SQL_FN_TSI_SECOND   0x00000002L

Definition at line 1079 of file sqlext.h.

#define SQL_FN_TSI_WEEK   0x00000020L

Definition at line 1083 of file sqlext.h.

#define SQL_FN_TSI_YEAR   0x00000100L

Definition at line 1086 of file sqlext.h.

#define SQL_FORWARD_ONLY_CURSOR_ATTRIBUTES1   146

Definition at line 861 of file sqlext.h.

#define SQL_FORWARD_ONLY_CURSOR_ATTRIBUTES2   147

Definition at line 862 of file sqlext.h.

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

Definition at line 703 of file sqlext.h.

#define SQL_GB_COLLATE   0x0004

Definition at line 1241 of file sqlext.h.

#define SQL_GB_GROUP_BY_CONTAINS_SELECT   0x0002

Definition at line 1238 of file sqlext.h.

#define SQL_GB_GROUP_BY_EQUALS_SELECT   0x0001

Definition at line 1237 of file sqlext.h.

#define SQL_GB_NO_RELATION   0x0003

Definition at line 1239 of file sqlext.h.

#define SQL_GB_NOT_SUPPORTED   0x0000

Definition at line 1236 of file sqlext.h.

#define SQL_GD_BLOCK   0x00000004L

Definition at line 1225 of file sqlext.h.

#define SQL_GD_BOUND   0x00000008L

Definition at line 1226 of file sqlext.h.

#define SQL_GET_BOOKMARK   13

Definition at line 226 of file sqlext.h.

#define SQL_GROUP_BY   88

Definition at line 782 of file sqlext.h.

#define SQL_GUID   (-11)

Definition at line 411 of file sqlext.h.

#define SQL_HANDLE_SENV   5

Definition at line 71 of file sqlext.h.

#define SQL_IGNORE   (-6)

Definition at line 561 of file sqlext.h.

#define SQL_IK_ALL   (SQL_IK_ASC | SQL_IK_DESC)

Definition at line 1397 of file sqlext.h.

#define SQL_IK_ASC   0x00000001L

Definition at line 1395 of file sqlext.h.

#define SQL_IK_DESC   0x00000002L

Definition at line 1396 of file sqlext.h.

#define SQL_IK_NONE   0x00000000L

Definition at line 1394 of file sqlext.h.

#define SQL_INDEX_KEYWORDS   148

Definition at line 863 of file sqlext.h.

#define SQL_INFO_FIRST   0

Definition at line 717 of file sqlext.h.

#define SQL_INFO_SCHEMA_VIEWS   149

Definition at line 864 of file sqlext.h.

#define SQL_INITIALLY_DEFERRED   5

Definition at line 1762 of file sqlext.h.

#define SQL_INITIALLY_IMMEDIATE   6

Definition at line 1763 of file sqlext.h.

#define SQL_INSERT_STATEMENT   172

Definition at line 891 of file sqlext.h.

#define SQL_INTERVAL   10

Definition at line 399 of file sqlext.h.

#define SQL_INTERVAL_DAY   (100 + SQL_CODE_DAY)

Definition at line 432 of file sqlext.h.

#define SQL_INTERVAL_DAY_TO_HOUR   (100 + SQL_CODE_DAY_TO_HOUR)

Definition at line 437 of file sqlext.h.

#define SQL_INTERVAL_DAY_TO_MINUTE   (100 + SQL_CODE_DAY_TO_MINUTE)

Definition at line 438 of file sqlext.h.

#define SQL_INTERVAL_DAY_TO_SECOND   (100 + SQL_CODE_DAY_TO_SECOND)

Definition at line 439 of file sqlext.h.

#define SQL_INTERVAL_HOUR   (100 + SQL_CODE_HOUR)

Definition at line 433 of file sqlext.h.

#define SQL_INTERVAL_HOUR_TO_MINUTE   (100 + SQL_CODE_HOUR_TO_MINUTE)

Definition at line 440 of file sqlext.h.

#define SQL_INTERVAL_HOUR_TO_SECOND   (100 + SQL_CODE_HOUR_TO_SECOND)

Definition at line 441 of file sqlext.h.

#define SQL_INTERVAL_MINUTE   (100 + SQL_CODE_MINUTE)

Definition at line 434 of file sqlext.h.

#define SQL_INTERVAL_MINUTE_TO_SECOND   (100 + SQL_CODE_MINUTE_TO_SECOND)

Definition at line 442 of file sqlext.h.

#define SQL_INTERVAL_MONTH   (100 + SQL_CODE_MONTH)

Definition at line 431 of file sqlext.h.

#define SQL_INTERVAL_SECOND   (100 + SQL_CODE_SECOND)

Definition at line 435 of file sqlext.h.

#define SQL_INTERVAL_YEAR   (100 + SQL_CODE_YEAR)

Definition at line 430 of file sqlext.h.

#define SQL_INTERVAL_YEAR_TO_MONTH   (100 + SQL_CODE_YEAR_TO_MONTH)

Definition at line 436 of file sqlext.h.

#define SQL_IS_INSERT_LITERALS   0x00000001L

Definition at line 1530 of file sqlext.h.

#define SQL_IS_INSERT_SEARCHED   0x00000002L

Definition at line 1531 of file sqlext.h.

#define SQL_IS_INTEGER   (-6)

Definition at line 278 of file sqlext.h.

#define SQL_IS_POINTER   (-4)

Definition at line 276 of file sqlext.h.

#define SQL_IS_SELECT_INTO   0x00000004L

Definition at line 1532 of file sqlext.h.

#define SQL_IS_SMALLINT   (-8)

Definition at line 280 of file sqlext.h.

#define SQL_IS_UINTEGER   (-5)

Definition at line 277 of file sqlext.h.

#define SQL_IS_USMALLINT   (-7)

Definition at line 279 of file sqlext.h.

#define SQL_ISV_ASSERTIONS   0x00000001L

Definition at line 1401 of file sqlext.h.

#define SQL_ISV_CHARACTER_SETS   0x00000002L

Definition at line 1402 of file sqlext.h.

#define SQL_ISV_CHECK_CONSTRAINTS   0x00000004L

Definition at line 1403 of file sqlext.h.

#define SQL_ISV_COLLATIONS   0x00000008L

Definition at line 1404 of file sqlext.h.

#define SQL_ISV_COLUMN_DOMAIN_USAGE   0x00000010L

Definition at line 1405 of file sqlext.h.

#define SQL_ISV_COLUMN_PRIVILEGES   0x00000020L

Definition at line 1406 of file sqlext.h.

#define SQL_ISV_COLUMNS   0x00000040L

Definition at line 1407 of file sqlext.h.

#define SQL_ISV_CONSTRAINT_COLUMN_USAGE   0x00000080L

Definition at line 1408 of file sqlext.h.

#define SQL_ISV_CONSTRAINT_TABLE_USAGE   0x00000100L

Definition at line 1409 of file sqlext.h.

#define SQL_ISV_DOMAIN_CONSTRAINTS   0x00000200L

Definition at line 1410 of file sqlext.h.

#define SQL_ISV_DOMAINS   0x00000400L

Definition at line 1411 of file sqlext.h.

#define SQL_ISV_KEY_COLUMN_USAGE   0x00000800L

Definition at line 1412 of file sqlext.h.

#define SQL_ISV_REFERENTIAL_CONSTRAINTS   0x00001000L

Definition at line 1413 of file sqlext.h.

#define SQL_ISV_SCHEMATA   0x00002000L

Definition at line 1414 of file sqlext.h.

#define SQL_ISV_SQL_LANGUAGES   0x00004000L

Definition at line 1415 of file sqlext.h.

#define SQL_ISV_TABLE_CONSTRAINTS   0x00008000L

Definition at line 1416 of file sqlext.h.

#define SQL_ISV_TABLE_PRIVILEGES   0x00010000L

Definition at line 1417 of file sqlext.h.

#define SQL_ISV_TABLES   0x00020000L

Definition at line 1418 of file sqlext.h.

#define SQL_ISV_TRANSLATIONS   0x00040000L

Definition at line 1419 of file sqlext.h.

#define SQL_ISV_USAGE_PRIVILEGES   0x00080000L

Definition at line 1420 of file sqlext.h.

#define SQL_ISV_VIEW_COLUMN_USAGE   0x00100000L

Definition at line 1421 of file sqlext.h.

#define SQL_ISV_VIEW_TABLE_USAGE   0x00200000L

Definition at line 1422 of file sqlext.h.

#define SQL_ISV_VIEWS   0x00400000L

Definition at line 1423 of file sqlext.h.

#define SQL_KEYSET_CURSOR_ATTRIBUTES1   150

Definition at line 865 of file sqlext.h.

#define SQL_KEYSET_CURSOR_ATTRIBUTES2   151

Definition at line 866 of file sqlext.h.

#define SQL_KEYSET_SIZE   8

Definition at line 221 of file sqlext.h.

#define SQL_KEYSET_SIZE_DEFAULT   0UL

Definition at line 330 of file sqlext.h.

#define SQL_KEYWORDS   89

Definition at line 783 of file sqlext.h.

#define SQL_LCK_EXCLUSIVE   0x00000002L

Definition at line 1317 of file sqlext.h.

#define SQL_LCK_NO_CHANGE   0x00000001L

Definition at line 1316 of file sqlext.h.

#define SQL_LCK_UNLOCK   0x00000004L

Definition at line 1318 of file sqlext.h.

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

Definition at line 570 of file sqlext.h.

#define SQL_LEN_BINARY_ATTR_OFFSET   (-100)

Definition at line 569 of file sqlext.h.

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

Definition at line 566 of file sqlext.h.

#define SQL_LEN_DATA_AT_EXEC_OFFSET   (-100)

Definition at line 565 of file sqlext.h.

#define SQL_LIKE_ESCAPE_CLAUSE   113

Definition at line 795 of file sqlext.h.

#define SQL_LIKE_ONLY   1

Definition at line 612 of file sqlext.h.

#define SQL_LOCK_EXCLUSIVE   1

Definition at line 1665 of file sqlext.h.

#define SQL_LOCK_NO_CHANGE   0

Definition at line 1664 of file sqlext.h.

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

Definition at line 1672 of file sqlext.h.

#define SQL_LOCK_TYPES   78

Definition at line 775 of file sqlext.h.

#define SQL_LOCK_UNLOCK   2

Definition at line 1666 of file sqlext.h.

#define SQL_LOGIN_TIMEOUT   103

Definition at line 106 of file sqlext.h.

#define SQL_LOGIN_TIMEOUT_DEFAULT   15UL

Definition at line 178 of file sqlext.h.

#define SQL_LONGVARBINARY   (-4)

Definition at line 406 of file sqlext.h.

#define SQL_LONGVARCHAR   (-1)

Definition at line 403 of file sqlext.h.

#define SQL_MAX_ASYNC_CONCURRENT_STATEMENTS   10022

Definition at line 867 of file sqlext.h.

#define SQL_MAX_BINARY_LITERAL_LEN   112

Definition at line 794 of file sqlext.h.

#define SQL_MAX_CHAR_LITERAL_LEN   108

Definition at line 790 of file sqlext.h.

#define SQL_MAX_DSN_LENGTH   32

Definition at line 58 of file sqlext.h.

#define SQL_MAX_LENGTH   3

Definition at line 216 of file sqlext.h.

#define SQL_MAX_LENGTH_DEFAULT   0UL

Definition at line 301 of file sqlext.h.

#define SQL_MAX_OPTION_STRING_LENGTH   256

Definition at line 60 of file sqlext.h.

#define SQL_MAX_OWNER_NAME_LEN   32

Definition at line 734 of file sqlext.h.

#define SQL_MAX_PROCEDURE_NAME_LEN   33

Definition at line 735 of file sqlext.h.

#define SQL_MAX_QUALIFIER_NAME_LEN   34

Definition at line 736 of file sqlext.h.

#define SQL_MAX_ROW_SIZE_INCLUDES_LONG   103

Definition at line 789 of file sqlext.h.

#define SQL_MAX_ROWS   1

Definition at line 214 of file sqlext.h.

#define SQL_MAX_ROWS_DEFAULT   0UL

Definition at line 293 of file sqlext.h.

#define SQL_MODE_DEFAULT   SQL_MODE_READ_WRITE

Definition at line 170 of file sqlext.h.

#define SQL_MODE_READ_ONLY   1UL

Definition at line 169 of file sqlext.h.

Referenced by CSqlOdbcDbc::SQLGetConnectAttr(), and CSqlOdbcDbc::SQLSetConnectAttr().

#define SQL_MODE_READ_WRITE   0UL

Definition at line 168 of file sqlext.h.

Referenced by CSqlOdbcDbc::SQLGetConnectAttr(), and CSqlOdbcDbc::SQLSetConnectAttr().

#define SQL_MULT_RESULT_SETS   36

Definition at line 737 of file sqlext.h.

#define SQL_MULTIPLE_ACTIVE_TXN   37

Definition at line 738 of file sqlext.h.

#define SQL_NC_END   0x0004

Definition at line 1213 of file sqlext.h.

#define SQL_NC_START   0x0002

Definition at line 1212 of file sqlext.h.

#define SQL_NEED_LONG_DATA_LEN   111

Definition at line 793 of file sqlext.h.

#define SQL_NNC_NON_NULL   0x0001

Definition at line 1208 of file sqlext.h.

#define SQL_NNC_NULL   0x0000

Definition at line 1207 of file sqlext.h.

#define SQL_NO_ACTION   3

Definition at line 1754 of file sqlext.h.

#define SQL_NO_COLUMN_NUMBER   (-1)

Definition at line 554 of file sqlext.h.

#define SQL_NO_DATA_FOUND   SQL_NO_DATA

Definition at line 66 of file sqlext.h.

Referenced by CSqlOdbcStmt::SQLFetch(), and CSqlOdbcError::SQLGetDiagRec().

#define SQL_NO_ROW_NUMBER   (-1)

Definition at line 553 of file sqlext.h.

#define SQL_NO_TOTAL   (-4)

Definition at line 619 of file sqlext.h.

#define SQL_NON_NULLABLE_COLUMNS   75

Definition at line 772 of file sqlext.h.

#define SQL_NOSCAN   2

Definition at line 215 of file sqlext.h.

#define SQL_NOSCAN_DEFAULT   SQL_NOSCAN_OFF

Definition at line 298 of file sqlext.h.

#define SQL_NOSCAN_OFF   0UL

Definition at line 296 of file sqlext.h.

#define SQL_NOSCAN_ON   1UL

Definition at line 297 of file sqlext.h.

#define SQL_NOT_DEFERRABLE   7

Definition at line 1764 of file sqlext.h.

#define SQL_NUMERIC_FUNCTIONS   49

Definition at line 747 of file sqlext.h.

#define SQL_OAC_LEVEL1   0x0001

Definition at line 1159 of file sqlext.h.

#define SQL_OAC_LEVEL2   0x0002

Definition at line 1160 of file sqlext.h.

#define SQL_OAC_NONE   0x0000

Definition at line 1158 of file sqlext.h.

#define SQL_ODBC_API_CONFORMANCE   9

Definition at line 725 of file sqlext.h.

#define SQL_ODBC_CURSORS   110

Definition at line 113 of file sqlext.h.

#define SQL_ODBC_INTERFACE_CONFORMANCE   152

Definition at line 868 of file sqlext.h.

#define SQL_ODBC_KEYWORDS

Definition at line 1783 of file sqlext.h.

#define SQL_ODBC_SAG_CLI_CONFORMANCE   12

Definition at line 728 of file sqlext.h.

#define SQL_ODBC_SQL_CONFORMANCE   15

Definition at line 729 of file sqlext.h.

#define SQL_ODBC_SQL_OPT_IEF   73

Definition at line 770 of file sqlext.h.

#define SQL_ODBC_VER   10

Definition at line 726 of file sqlext.h.

#define SQL_OIC_CORE   1UL

Definition at line 1535 of file sqlext.h.

#define SQL_OIC_LEVEL1   2UL

Definition at line 1536 of file sqlext.h.

#define SQL_OIC_LEVEL2   3UL

Definition at line 1537 of file sqlext.h.

#define SQL_OPT_TRACE   104

Definition at line 107 of file sqlext.h.

#define SQL_OPT_TRACE_DEFAULT   SQL_OPT_TRACE_OFF

Definition at line 183 of file sqlext.h.

#define SQL_OPT_TRACE_FILE_DEFAULT   "\\SQL.LOG"

Definition at line 184 of file sqlext.h.

#define SQL_OPT_TRACE_OFF   0UL

Definition at line 181 of file sqlext.h.

#define SQL_OPT_TRACE_ON   1UL

Definition at line 182 of file sqlext.h.

#define SQL_OPT_TRACEFILE   105

Definition at line 108 of file sqlext.h.

#define SQL_OSC_CORE   0x0001

Definition at line 1170 of file sqlext.h.

#define SQL_OSC_EXTENDED   0x0002

Definition at line 1171 of file sqlext.h.

#define SQL_OSC_MINIMUM   0x0000

Definition at line 1169 of file sqlext.h.

#define SQL_OSCC_COMPLIANT   0x0001

Definition at line 1165 of file sqlext.h.

#define SQL_OSCC_NOT_COMPLIANT   0x0000

Definition at line 1164 of file sqlext.h.

#define SQL_OU_DML_STATEMENTS   0x00000001L

Definition at line 1247 of file sqlext.h.

#define SQL_OU_INDEX_DEFINITION   0x00000008L

Definition at line 1250 of file sqlext.h.

#define SQL_OU_PRIVILEGE_DEFINITION   0x00000010L

Definition at line 1251 of file sqlext.h.

#define SQL_OU_PROCEDURE_INVOCATION   0x00000002L

Definition at line 1248 of file sqlext.h.

#define SQL_OU_TABLE_DEFINITION   0x00000004L

Definition at line 1249 of file sqlext.h.

#define SQL_OUTER_JOINS   38

Definition at line 739 of file sqlext.h.

#define SQL_OV_ODBC2   2UL

Definition at line 99 of file sqlext.h.

Referenced by CSqlOdbcEnv::SQLSetEnvAttr().

#define SQL_OV_ODBC3   3UL

Definition at line 100 of file sqlext.h.

Referenced by SqlOdbcConnection::connect(), isValidHandle(), CacheTableLoader::load(), CSqlOdbcError::printStr(), CSqlOdbcError::set(), CSqlOdbcStmt::SQLAllocHandle(), CSqlOdbcEnv::SQLAllocHandle(), CSqlOdbcDbc::SQLAllocHandle(), SQLAllocHandle(), SQLEndTran(), SQLFreeHandle(), CSqlOdbcError::SQLGetDiagRec(), and CSqlOdbcEnv::SQLSetEnvAttr().

#define SQL_OWNER_TERM   39

Definition at line 740 of file sqlext.h.

#define SQL_OWNER_USAGE   91

Definition at line 784 of file sqlext.h.

#define SQL_PACKET_SIZE   112

Definition at line 115 of file sqlext.h.

#define SQL_PARAM_ARRAY_ROW_COUNTS   153

Definition at line 869 of file sqlext.h.

#define SQL_PARAM_ARRAY_SELECTS   154

Definition at line 870 of file sqlext.h.

#define SQL_PARAM_BIND_BY_COLUMN   0UL

Definition at line 285 of file sqlext.h.

#define SQL_PARAM_BIND_TYPE_DEFAULT   SQL_PARAM_BIND_BY_COLUMN

Definition at line 286 of file sqlext.h.

#define SQL_PARAM_DIAG_UNAVAILABLE   1

Definition at line 1743 of file sqlext.h.

#define SQL_PARAM_ERROR   5

Definition at line 1741 of file sqlext.h.

#define SQL_PARAM_IGNORE   1

Definition at line 1746 of file sqlext.h.

#define SQL_PARAM_INPUT   1

Definition at line 1771 of file sqlext.h.

Referenced by SqlOdbcStatement::prepare(), and CSqlOdbcStmt::SQLBindParameter().

#define SQL_PARAM_INPUT_OUTPUT   2

Definition at line 1772 of file sqlext.h.

Referenced by SQLBindParam(), CSqlOdbcStmt::SQLBindParameter(), and SQLSetParam().

#define SQL_PARAM_OUTPUT   4

Definition at line 1774 of file sqlext.h.

Referenced by CSqlOdbcStmt::SQLBindParameter().

#define SQL_PARAM_PROCEED   0

Definition at line 1745 of file sqlext.h.

#define SQL_PARAM_SUCCESS   0

Definition at line 1739 of file sqlext.h.

#define SQL_PARAM_SUCCESS_WITH_INFO   6

Definition at line 1740 of file sqlext.h.

#define SQL_PARAM_TYPE_DEFAULT   SQL_PARAM_INPUT_OUTPUT

Definition at line 574 of file sqlext.h.

#define SQL_PARAM_TYPE_UNKNOWN   0

Definition at line 1770 of file sqlext.h.

#define SQL_PARAM_UNUSED   7

Definition at line 1742 of file sqlext.h.

#define SQL_PARC_BATCH   1

Definition at line 1385 of file sqlext.h.

#define SQL_PARC_NO_BATCH   2

Definition at line 1386 of file sqlext.h.

#define SQL_PAS_BATCH   1

Definition at line 1389 of file sqlext.h.

#define SQL_PAS_NO_BATCH   2

Definition at line 1390 of file sqlext.h.

#define SQL_PAS_NO_SELECT   3

Definition at line 1391 of file sqlext.h.

#define SQL_PC_NOT_PSEUDO   1

Definition at line 1684 of file sqlext.h.

#define SQL_POS_ADD   0x00000010L

Definition at line 1326 of file sqlext.h.

#define SQL_POS_DELETE   0x00000008L

Definition at line 1325 of file sqlext.h.

#define SQL_POS_OPERATIONS   79

Definition at line 776 of file sqlext.h.

#define SQL_POS_POSITION   0x00000001L

Definition at line 1322 of file sqlext.h.

#define SQL_POS_REFRESH   0x00000002L

Definition at line 1323 of file sqlext.h.

#define SQL_POS_UPDATE   0x00000004L

Definition at line 1324 of file sqlext.h.

#define SQL_POSITION   0

Definition at line 1648 of file sqlext.h.

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

Definition at line 1671 of file sqlext.h.

#define SQL_POSITIONED_STATEMENTS   80

Definition at line 777 of file sqlext.h.

#define SQL_PRED_SEARCHABLE   SQL_SEARCHABLE

Definition at line 615 of file sqlext.h.

Referenced by CSqlOdbcStmt::SQLColAttribute().

#define SQL_PROCEDURE_TERM   40

Definition at line 741 of file sqlext.h.

#define SQL_PROCEDURES   21

Definition at line 730 of file sqlext.h.

#define SQL_PS_POSITIONED_DELETE   0x00000001L

Definition at line 1230 of file sqlext.h.

#define SQL_PS_POSITIONED_UPDATE   0x00000002L

Definition at line 1231 of file sqlext.h.

#define SQL_PS_SELECT_FOR_UPDATE   0x00000004L

Definition at line 1232 of file sqlext.h.

#define SQL_PT_FUNCTION   2

Definition at line 1780 of file sqlext.h.

#define SQL_PT_PROCEDURE   1

Definition at line 1779 of file sqlext.h.

#define SQL_PT_UNKNOWN   0

Definition at line 1778 of file sqlext.h.

#define SQL_QL_END   0x0002

Definition at line 1331 of file sqlext.h.

#define SQL_QL_START   0x0001

Definition at line 1330 of file sqlext.h.

#define SQL_QU_DML_STATEMENTS   0x00000001L

Definition at line 1264 of file sqlext.h.

#define SQL_QU_INDEX_DEFINITION   0x00000008L

Definition at line 1267 of file sqlext.h.

#define SQL_QU_PRIVILEGE_DEFINITION   0x00000010L

Definition at line 1268 of file sqlext.h.

#define SQL_QU_PROCEDURE_INVOCATION   0x00000002L

Definition at line 1265 of file sqlext.h.

#define SQL_QU_TABLE_DEFINITION   0x00000004L

Definition at line 1266 of file sqlext.h.

#define SQL_QUALIFIER_LOCATION   114

Definition at line 796 of file sqlext.h.

#define SQL_QUALIFIER_NAME_SEPARATOR   41

Definition at line 742 of file sqlext.h.

#define SQL_QUALIFIER_TERM   42

Definition at line 743 of file sqlext.h.

#define SQL_QUALIFIER_USAGE   92

Definition at line 785 of file sqlext.h.

#define SQL_QUERY_TIMEOUT   0

Definition at line 213 of file sqlext.h.

#define SQL_QUERY_TIMEOUT_DEFAULT   0UL

Definition at line 290 of file sqlext.h.

#define SQL_QUICK   0

Definition at line 1687 of file sqlext.h.

Referenced by CacheTableLoader::load().

#define SQL_QUIET_MODE   111

Definition at line 114 of file sqlext.h.

#define SQL_QUOTED_IDENTIFIER_CASE   93

Definition at line 786 of file sqlext.h.

#define SQL_RD_DEFAULT   SQL_RD_ON

Definition at line 340 of file sqlext.h.

#define SQL_RD_OFF   0UL

Definition at line 338 of file sqlext.h.

#define SQL_RD_ON   1UL

Definition at line 339 of file sqlext.h.

#define SQL_REFRESH   1

Definition at line 1649 of file sqlext.h.

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

Definition at line 1673 of file sqlext.h.

#define SQL_RESTRICT   1

Definition at line 1751 of file sqlext.h.

#define SQL_RESULT_COL   3

Definition at line 1773 of file sqlext.h.

#define SQL_RETRIEVE_DATA   11

Definition at line 224 of file sqlext.h.

#define SQL_RETURN_VALUE   5

Definition at line 1775 of file sqlext.h.

#define SQL_ROW_ADDED   4

Definition at line 1729 of file sqlext.h.

#define SQL_ROW_DELETED   1

Definition at line 1726 of file sqlext.h.

#define SQL_ROW_ERROR   5

Definition at line 1730 of file sqlext.h.

#define SQL_ROW_IGNORE   1

Definition at line 1734 of file sqlext.h.

#define SQL_ROW_NOROW   3

Definition at line 1728 of file sqlext.h.

#define SQL_ROW_NUMBER   14

Definition at line 227 of file sqlext.h.

#define SQL_ROW_NUMBER_UNKNOWN   (-2)

Definition at line 555 of file sqlext.h.

#define SQL_ROW_PROCEED   0

Definition at line 1733 of file sqlext.h.

#define SQL_ROW_SUCCESS   0

Definition at line 1725 of file sqlext.h.

#define SQL_ROW_SUCCESS_WITH_INFO   6

Definition at line 1732 of file sqlext.h.

#define SQL_ROW_UPDATED   2

Definition at line 1727 of file sqlext.h.

#define SQL_ROW_UPDATES   11

Definition at line 727 of file sqlext.h.

#define SQL_ROWSET_SIZE   9

Definition at line 222 of file sqlext.h.

#define SQL_ROWSET_SIZE_DEFAULT   1UL

Definition at line 327 of file sqlext.h.

#define SQL_ROWVER   2

Definition at line 1680 of file sqlext.h.

#define SQL_SC_FIPS127_2_TRANSITIONAL   0x00000002L

Definition at line 1347 of file sqlext.h.

#define SQL_SC_NON_UNIQUE   0UL

Definition at line 333 of file sqlext.h.

#define SQL_SC_SQL92_ENTRY   0x00000001L

Definition at line 1346 of file sqlext.h.

#define SQL_SC_SQL92_FULL   0x00000008L

Definition at line 1349 of file sqlext.h.

#define SQL_SC_SQL92_INTERMEDIATE   0x00000004L

Definition at line 1348 of file sqlext.h.

#define SQL_SC_TRY_UNIQUE   1UL

Definition at line 334 of file sqlext.h.

#define SQL_SC_UNIQUE   2UL

Definition at line 335 of file sqlext.h.

#define SQL_SCC_ISO92_CLI   0x00000002L

Definition at line 1625 of file sqlext.h.

#define SQL_SCC_XOPEN_CLI_VERSION1   0x00000001L

Definition at line 1624 of file sqlext.h.

#define SQL_SCCO_OPT_TIMESTAMP   SQL_SCCO_OPT_ROWVER

Definition at line 2002 of file sqlext.h.

#define SQL_SCHEMA_TERM   SQL_OWNER_TERM

Definition at line 871 of file sqlext.h.

#define SQL_SCHEMA_USAGE   SQL_OWNER_USAGE

Definition at line 872 of file sqlext.h.

#define SQL_SCROLL_DYNAMIC   (-2L)

Definition at line 2014 of file sqlext.h.

#define SQL_SCROLL_FORWARD_ONLY   0L

Definition at line 2012 of file sqlext.h.

#define SQL_SCROLL_KEYSET_DRIVEN   (-1L)

Definition at line 2013 of file sqlext.h.

#define SQL_SCROLL_OPTIONS   44

Definition at line 744 of file sqlext.h.

#define SQL_SCROLL_STATIC   (-3L)

Definition at line 2015 of file sqlext.h.

#define SQL_SDF_CURRENT_DATE   0x00000001L

Definition at line 1065 of file sqlext.h.

#define SQL_SDF_CURRENT_TIME   0x00000002L

Definition at line 1066 of file sqlext.h.

#define SQL_SDF_CURRENT_TIMESTAMP   0x00000004L

Definition at line 1067 of file sqlext.h.

#define SQL_SEARCHABLE   3

Definition at line 614 of file sqlext.h.

#define SQL_SET_DEFAULT   4

Definition at line 1755 of file sqlext.h.

#define SQL_SET_NULL   2

Definition at line 1752 of file sqlext.h.

#define SQL_SETPARAM_VALUE_MAX   (-1L)

Definition at line 575 of file sqlext.h.

#define SQL_SETPOS_MAX_LOCK_VALUE   SQL_LOCK_UNLOCK

Definition at line 1668 of file sqlext.h.

#define SQL_SETPOS_MAX_OPTION_VALUE   SQL_ADD

Definition at line 1655 of file sqlext.h.

#define SQL_SFKD_CASCADE   0x00000001L

Definition at line 1540 of file sqlext.h.

#define SQL_SFKD_NO_ACTION   0x00000002L

Definition at line 1541 of file sqlext.h.

#define SQL_SFKD_SET_DEFAULT   0x00000004L

Definition at line 1542 of file sqlext.h.

#define SQL_SFKD_SET_NULL   0x00000008L

Definition at line 1543 of file sqlext.h.

#define SQL_SFKU_CASCADE   0x00000001L

Definition at line 1546 of file sqlext.h.

#define SQL_SFKU_NO_ACTION   0x00000002L

Definition at line 1547 of file sqlext.h.

#define SQL_SFKU_SET_DEFAULT   0x00000004L

Definition at line 1548 of file sqlext.h.

#define SQL_SFKU_SET_NULL   0x00000008L

Definition at line 1549 of file sqlext.h.

#define SQL_SG_DELETE_TABLE   0x00000020L

Definition at line 1557 of file sqlext.h.

#define SQL_SG_INSERT_COLUMN   0x00000080L

Definition at line 1559 of file sqlext.h.

#define SQL_SG_INSERT_TABLE   0x00000040L

Definition at line 1558 of file sqlext.h.

#define SQL_SG_REFERENCES_COLUMN   0x00000200L

Definition at line 1561 of file sqlext.h.

#define SQL_SG_REFERENCES_TABLE   0x00000100L

Definition at line 1560 of file sqlext.h.

#define SQL_SG_SELECT_TABLE   0x00000400L

Definition at line 1562 of file sqlext.h.

#define SQL_SG_UPDATE_COLUMN   0x00001000L

Definition at line 1564 of file sqlext.h.

#define SQL_SG_UPDATE_TABLE   0x00000800L

Definition at line 1563 of file sqlext.h.

#define SQL_SG_USAGE_ON_CHARACTER_SET   0x00000002L

Definition at line 1553 of file sqlext.h.

#define SQL_SG_USAGE_ON_COLLATION   0x00000004L

Definition at line 1554 of file sqlext.h.

#define SQL_SG_USAGE_ON_DOMAIN   0x00000001L

Definition at line 1552 of file sqlext.h.

#define SQL_SG_USAGE_ON_TRANSLATION   0x00000008L

Definition at line 1555 of file sqlext.h.

#define SQL_SG_WITH_GRANT_OPTION   0x00000010L

Definition at line 1556 of file sqlext.h.

#define SQL_SIGNED_OFFSET   (-20)

Definition at line 492 of file sqlext.h.

#define SQL_SIMULATE_CURSOR   10

Definition at line 223 of file sqlext.h.

#define SQL_SNVF_BIT_LENGTH   0x00000001L

Definition at line 1029 of file sqlext.h.

#define SQL_SNVF_CHAR_LENGTH   0x00000002L

Definition at line 1030 of file sqlext.h.

#define SQL_SNVF_CHARACTER_LENGTH   0x00000004L

Definition at line 1031 of file sqlext.h.

#define SQL_SNVF_EXTRACT   0x00000008L

Definition at line 1032 of file sqlext.h.

#define SQL_SNVF_OCTET_LENGTH   0x00000010L

Definition at line 1033 of file sqlext.h.

#define SQL_SNVF_POSITION   0x00000020L

Definition at line 1034 of file sqlext.h.

#define SQL_SO_DYNAMIC   0x00000004L

Definition at line 1183 of file sqlext.h.

#define SQL_SO_FORWARD_ONLY   0x00000001L

Definition at line 1181 of file sqlext.h.

#define SQL_SO_KEYSET_DRIVEN   0x00000002L

Definition at line 1182 of file sqlext.h.

#define SQL_SO_MIXED   0x00000008L

Definition at line 1184 of file sqlext.h.

#define SQL_SO_STATIC   0x00000010L

Definition at line 1185 of file sqlext.h.

#define SQL_SP_BETWEEN   0x00000800L

Definition at line 1578 of file sqlext.h.

#define SQL_SP_COMPARISON   0x00001000L

Definition at line 1579 of file sqlext.h.

#define SQL_SP_EXISTS   0x00000001L

Definition at line 1567 of file sqlext.h.

#define SQL_SP_IN   0x00000400L

Definition at line 1577 of file sqlext.h.

#define SQL_SP_ISNOTNULL   0x00000002L

Definition at line 1568 of file sqlext.h.

#define SQL_SP_ISNULL   0x00000004L

Definition at line 1569 of file sqlext.h.

#define SQL_SP_LIKE   0x00000200L

Definition at line 1576 of file sqlext.h.

#define SQL_SP_MATCH_FULL   0x00000008L

Definition at line 1570 of file sqlext.h.

#define SQL_SP_MATCH_PARTIAL   0x00000010L

Definition at line 1571 of file sqlext.h.

#define SQL_SP_MATCH_UNIQUE_FULL   0x00000020L

Definition at line 1572 of file sqlext.h.

#define SQL_SP_MATCH_UNIQUE_PARTIAL   0x00000040L

Definition at line 1573 of file sqlext.h.

#define SQL_SP_OVERLAPS   0x00000080L

Definition at line 1574 of file sqlext.h.

#define SQL_SP_QUANTIFIED_COMPARISON   0x00002000L

Definition at line 1580 of file sqlext.h.

#define SQL_SP_UNIQUE   0x00000100L

Definition at line 1575 of file sqlext.h.

#define SQL_SPEC_MAJOR   3

Definition at line 53 of file sqlext.h.

#define SQL_SPEC_MINOR   52

Definition at line 54 of file sqlext.h.

#define SQL_SPEC_STRING   "03.52"

Definition at line 55 of file sqlext.h.

#define SQL_SQ_COMPARISON   0x00000001L

Definition at line 1281 of file sqlext.h.

#define SQL_SQ_CORRELATED_SUBQUERIES   0x00000010L

Definition at line 1285 of file sqlext.h.

#define SQL_SQ_EXISTS   0x00000002L

Definition at line 1282 of file sqlext.h.

#define SQL_SQ_IN   0x00000004L

Definition at line 1283 of file sqlext.h.

#define SQL_SQ_QUANTIFIED   0x00000008L

Definition at line 1284 of file sqlext.h.

#define SQL_SQL92_DATETIME_FUNCTIONS   155

Definition at line 873 of file sqlext.h.

#define SQL_SQL92_FOREIGN_KEY_DELETE_RULE   156

Definition at line 874 of file sqlext.h.

#define SQL_SQL92_FOREIGN_KEY_UPDATE_RULE   157

Definition at line 875 of file sqlext.h.

#define SQL_SQL92_GRANT   158

Definition at line 876 of file sqlext.h.

#define SQL_SQL92_NUMERIC_VALUE_FUNCTIONS   159

Definition at line 877 of file sqlext.h.

#define SQL_SQL92_PREDICATES   160

Definition at line 878 of file sqlext.h.

#define SQL_SQL92_RELATIONAL_JOIN_OPERATORS   161

Definition at line 879 of file sqlext.h.

#define SQL_SQL92_REVOKE   162

Definition at line 880 of file sqlext.h.

#define SQL_SQL92_ROW_VALUE_CONSTRUCTOR   163

Definition at line 881 of file sqlext.h.

#define SQL_SQL92_STRING_FUNCTIONS   164

Definition at line 882 of file sqlext.h.

#define SQL_SQL92_VALUE_EXPRESSIONS   165

Definition at line 883 of file sqlext.h.

#define SQL_SQL_CONFORMANCE   118

Definition at line 827 of file sqlext.h.

#define SQL_SQLSTATE_SIZE   5

Definition at line 57 of file sqlext.h.

#define SQL_SR_CASCADE   0x00000020L

Definition at line 1600 of file sqlext.h.

#define SQL_SR_DELETE_TABLE   0x00000080L

Definition at line 1602 of file sqlext.h.

#define SQL_SR_GRANT_OPTION_FOR   0x00000010L

Definition at line 1599 of file sqlext.h.

#define SQL_SR_INSERT_COLUMN   0x00000200L

Definition at line 1604 of file sqlext.h.

#define SQL_SR_INSERT_TABLE   0x00000100L

Definition at line 1603 of file sqlext.h.

#define SQL_SR_REFERENCES_COLUMN   0x00000800L

Definition at line 1606 of file sqlext.h.

#define SQL_SR_REFERENCES_TABLE   0x00000400L

Definition at line 1605 of file sqlext.h.

#define SQL_SR_RESTRICT   0x00000040L

Definition at line 1601 of file sqlext.h.

#define SQL_SR_SELECT_TABLE   0x00001000L

Definition at line 1607 of file sqlext.h.

#define SQL_SR_UPDATE_COLUMN   0x00004000L

Definition at line 1609 of file sqlext.h.

#define SQL_SR_UPDATE_TABLE   0x00002000L

Definition at line 1608 of file sqlext.h.

#define SQL_SR_USAGE_ON_CHARACTER_SET   0x00000002L

Definition at line 1596 of file sqlext.h.

#define SQL_SR_USAGE_ON_COLLATION   0x00000004L

Definition at line 1597 of file sqlext.h.

#define SQL_SR_USAGE_ON_DOMAIN   0x00000001L

Definition at line 1595 of file sqlext.h.

#define SQL_SR_USAGE_ON_TRANSLATION   0x00000008L

Definition at line 1598 of file sqlext.h.

#define SQL_SRJO_CORRESPONDING_CLAUSE   0x00000001L

Definition at line 1583 of file sqlext.h.

#define SQL_SRJO_CROSS_JOIN   0x00000002L

Definition at line 1584 of file sqlext.h.

#define SQL_SRJO_EXCEPT_JOIN   0x00000004L

Definition at line 1585 of file sqlext.h.

#define SQL_SRJO_FULL_OUTER_JOIN   0x00000008L

Definition at line 1586 of file sqlext.h.

#define SQL_SRJO_INNER_JOIN   0x00000010L

Definition at line 1587 of file sqlext.h.

#define SQL_SRJO_INTERSECT_JOIN   0x00000020L

Definition at line 1588 of file sqlext.h.

#define SQL_SRJO_LEFT_OUTER_JOIN   0x00000040L

Definition at line 1589 of file sqlext.h.

#define SQL_SRJO_NATURAL_JOIN   0x00000080L

Definition at line 1590 of file sqlext.h.

#define SQL_SRJO_RIGHT_OUTER_JOIN   0x00000100L

Definition at line 1591 of file sqlext.h.

#define SQL_SRJO_UNION_JOIN   0x00000200L

Definition at line 1592 of file sqlext.h.

#define SQL_SRVC_DEFAULT   0x00000004L

Definition at line 1614 of file sqlext.h.

#define SQL_SRVC_NULL   0x00000002L

Definition at line 1613 of file sqlext.h.

#define SQL_SRVC_ROW_SUBQUERY   0x00000008L

Definition at line 1615 of file sqlext.h.

#define SQL_SRVC_VALUE_EXPRESSION   0x00000001L

Definition at line 1612 of file sqlext.h.

#define SQL_SS_ADDITIONS   0x00000001L

Definition at line 1304 of file sqlext.h.

#define SQL_SS_DELETIONS   0x00000002L

Definition at line 1305 of file sqlext.h.

#define SQL_SS_UPDATES   0x00000004L

Definition at line 1306 of file sqlext.h.

#define SQL_SSF_CONVERT   0x00000001L

Definition at line 990 of file sqlext.h.

#define SQL_SSF_LOWER   0x00000002L

Definition at line 991 of file sqlext.h.

#define SQL_SSF_SUBSTRING   0x00000008L

Definition at line 993 of file sqlext.h.

#define SQL_SSF_TRANSLATE   0x00000010L

Definition at line 994 of file sqlext.h.

#define SQL_SSF_TRIM_BOTH   0x00000020L

Definition at line 995 of file sqlext.h.

#define SQL_SSF_TRIM_LEADING   0x00000040L

Definition at line 996 of file sqlext.h.

#define SQL_SSF_TRIM_TRAILING   0x00000080L

Definition at line 997 of file sqlext.h.

#define SQL_SSF_UPPER   0x00000004L

Definition at line 992 of file sqlext.h.

#define SQL_STANDARD_CLI_CONFORMANCE   166

Definition at line 884 of file sqlext.h.

#define SQL_STATIC_CURSOR_ATTRIBUTES1   167

Definition at line 885 of file sqlext.h.

#define SQL_STATIC_CURSOR_ATTRIBUTES2   168

Definition at line 886 of file sqlext.h.

#define SQL_STATIC_SENSITIVITY   83

Definition at line 779 of file sqlext.h.

#define SQL_STRING_FUNCTIONS   50

Definition at line 748 of file sqlext.h.

#define SQL_SU_DML_STATEMENTS   SQL_OU_DML_STATEMENTS

Definition at line 1255 of file sqlext.h.

#define SQL_SU_INDEX_DEFINITION   SQL_OU_INDEX_DEFINITION

Definition at line 1258 of file sqlext.h.

#define SQL_SU_PRIVILEGE_DEFINITION   SQL_OU_PRIVILEGE_DEFINITION

Definition at line 1259 of file sqlext.h.

#define SQL_SU_PROCEDURE_INVOCATION   SQL_OU_PROCEDURE_INVOCATION

Definition at line 1256 of file sqlext.h.

#define SQL_SU_TABLE_DEFINITION   SQL_OU_TABLE_DEFINITION

Definition at line 1257 of file sqlext.h.

#define SQL_SUBQUERIES   95

Definition at line 787 of file sqlext.h.

#define SQL_SVE_CASE   0x00000001L

Definition at line 1618 of file sqlext.h.

#define SQL_SVE_CAST   0x00000002L

Definition at line 1619 of file sqlext.h.

#define SQL_SVE_COALESCE   0x00000004L

Definition at line 1620 of file sqlext.h.

#define SQL_SVE_NULLIF   0x00000008L

Definition at line 1621 of file sqlext.h.

#define SQL_SYSTEM_FUNCTIONS   51

Definition at line 749 of file sqlext.h.

#define SQL_TABLE_STAT   0

Definition at line 1693 of file sqlext.h.

#define SQL_TABLE_TERM   45

Definition at line 745 of file sqlext.h.

#define SQL_TIME   10

Definition at line 401 of file sqlext.h.

Referenced by getSQLType(), getSQLTypeName(), isValidSQLType(), and CSqlOdbcStmt::SQLColAttribute().

#define SQL_TIMEDATE_ADD_INTERVALS   109

Definition at line 791 of file sqlext.h.

#define SQL_TIMEDATE_DIFF_INTERVALS   110

Definition at line 792 of file sqlext.h.

#define SQL_TIMEDATE_FUNCTIONS   52

Definition at line 750 of file sqlext.h.

#define SQL_TIMESTAMP   11

Definition at line 402 of file sqlext.h.

Referenced by getSQLType(), getSQLTypeName(), isValidSQLType(), and CSqlOdbcStmt::SQLColAttribute().

#define SQL_TINYINT   (-6)

Definition at line 408 of file sqlext.h.

Referenced by getSQLType(), getSQLTypeName(), and isValidSQLType().

#define SQL_TRANSLATE_DLL   106

Definition at line 109 of file sqlext.h.

#define SQL_TRANSLATE_OPTION   107

Definition at line 110 of file sqlext.h.

#define SQL_TXN_ISOLATION   108

Definition at line 111 of file sqlext.h.

#define SQL_TYPE_NULL   0

Definition at line 541 of file sqlext.h.

#define SQL_U_UNION   0x00000001L

Definition at line 1289 of file sqlext.h.

#define SQL_U_UNION_ALL   0x00000002L

Definition at line 1290 of file sqlext.h.

#define SQL_UB_DEFAULT   SQL_UB_OFF

Definition at line 345 of file sqlext.h.

#define SQL_UB_FIXED   SQL_UB_ON

Definition at line 349 of file sqlext.h.

#define SQL_UB_OFF   0UL

Definition at line 343 of file sqlext.h.

#define SQL_UB_ON   01UL

Definition at line 344 of file sqlext.h.

#define SQL_UB_VARIABLE   2UL

Definition at line 350 of file sqlext.h.

#define SQL_UNICODE   SQL_WCHAR

Definition at line 469 of file sqlext.h.

#define SQL_UNICODE_CHAR   SQL_WCHAR

Definition at line 472 of file sqlext.h.

#define SQL_UNICODE_LONGVARCHAR   SQL_WLONGVARCHAR

Definition at line 471 of file sqlext.h.

#define SQL_UNICODE_VARCHAR   SQL_WVARCHAR

Definition at line 470 of file sqlext.h.

#define SQL_UNION   96

Definition at line 788 of file sqlext.h.

#define SQL_UNION_STATEMENT   SQL_UNION

Definition at line 892 of file sqlext.h.

#define SQL_UNSEARCHABLE   0

Definition at line 611 of file sqlext.h.

#define SQL_UNSIGNED_OFFSET   (-22)

Definition at line 493 of file sqlext.h.

#define SQL_UPDATE   2

Definition at line 1650 of file sqlext.h.

#define SQL_UPDATE_BY_BOOKMARK   5

Definition at line 1657 of file sqlext.h.

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

Definition at line 1674 of file sqlext.h.

#define SQL_US_UNION   SQL_U_UNION

Definition at line 1628 of file sqlext.h.

#define SQL_US_UNION_ALL   SQL_U_UNION_ALL

Definition at line 1629 of file sqlext.h.

#define SQL_USE_BOOKMARKS   12

Definition at line 225 of file sqlext.h.

#define SQL_VARBINARY   (-3)

Definition at line 405 of file sqlext.h.

Referenced by isValidSQLType(), and CSqlOdbcStmt::SQLColAttribute().

#define SQLColumns_BUFFER_LENGTH   8

Definition at line 30 of file sqlext.h.

#define SQLColumns_CHAR_OCTET_LENGTH   16

Definition at line 38 of file sqlext.h.

#define SQLColumns_COLUMN_DEF   13

Definition at line 35 of file sqlext.h.

#define SQLColumns_COLUMN_NAME   4

Definition at line 26 of file sqlext.h.

#define SQLColumns_COLUMN_SIZE   7

Definition at line 29 of file sqlext.h.

#define SQLColumns_DATA_TYPE   5

Definition at line 27 of file sqlext.h.

#define SQLColumns_DECIMAL_DIGITS   9

Definition at line 31 of file sqlext.h.

#define SQLColumns_IS_NULLABLE   18

Definition at line 40 of file sqlext.h.

#define SQLColumns_NULLABLE   11

Definition at line 33 of file sqlext.h.

#define SQLColumns_NUM_PREC_RADIX   10

Definition at line 32 of file sqlext.h.

#define SQLColumns_ORDINAL_POSITION   17

Definition at line 39 of file sqlext.h.

#define SQLColumns_REMARKS   12

Definition at line 34 of file sqlext.h.

#define SQLColumns_SQL_DATA_TYPE   14

Definition at line 36 of file sqlext.h.

#define SQLColumns_SQL_DATETIME_SUB   15

Definition at line 37 of file sqlext.h.

#define SQLColumns_TABLE_CAT   1

Definition at line 23 of file sqlext.h.

#define SQLColumns_TABLE_NAME   3

Definition at line 25 of file sqlext.h.

#define SQLColumns_TABLE_SCHEM   2

Definition at line 24 of file sqlext.h.

#define SQLColumns_TYPE_NAME   6

Definition at line 28 of file sqlext.h.

#define SQLTables_REMARKS   5

Definition at line 20 of file sqlext.h.

#define SQLTables_TABLE_CATALOG   1

Definition at line 16 of file sqlext.h.

#define SQLTables_TABLE_NAME   3

Definition at line 18 of file sqlext.h.

#define SQLTables_TABLE_SCHEM   2

Definition at line 17 of file sqlext.h.

#define SQLTables_TABLE_TYPE   4

Definition at line 19 of file sqlext.h.

#define TRACE_ON   0x00000001L

Definition at line 2045 of file sqlext.h.

#define TRACE_VERSION   1000

Definition at line 2026 of file sqlext.h.

#define TRACE_VS_EVENT_ON   0x00000002L

Definition at line 2046 of file sqlext.h.


Typedef Documentation

typedef struct tagODBC_VS_ARGS ODBC_VS_ARGS

typedef struct tagODBC_VS_ARGS * PODBC_VS_ARGS


Function Documentation

VOID FireVSDebugEvent ( PODBC_VS_ARGS   ) 

SQLRETURN SQL_API SQLAllocHandleStd ( SQLSMALLINT  fHandleType,
SQLHANDLE  hInput,
SQLHANDLE phOutput 
)

SQLRETURN SQL_API SQLBindParameter ( SQLHSTMT  hstmt,
SQLUSMALLINT  ipar,
SQLSMALLINT  fParamType,
SQLSMALLINT  fCType,
SQLSMALLINT  fSqlType,
SQLULEN  cbColDef,
SQLSMALLINT  ibScale,
SQLPOINTER  rgbValue,
SQLLEN  cbValueMax,
SQLLEN *  pcbValue 
)

Referenced by SqlOdbcStatement::prepare(), SQLBindParam(), SQLBindParameter(), and SQLSetParam().

Here is the caller graph for this function:

SQLRETURN SQL_API SQLBrowseConnect ( SQLHDBC  hdbc,
SQLCHAR szConnStrIn,
SQLSMALLINT  cbConnStrIn,
SQLCHAR szConnStrOut,
SQLSMALLINT  cbConnStrOutMax,
SQLSMALLINT pcbConnStrOut 
)

SQLRETURN SQL_API SQLBulkOperations ( SQLHSTMT  StatementHandle,
SQLSMALLINT  Operation 
)

SQLRETURN SQL_API SQLColAttributes ( SQLHSTMT  hstmt,
SQLUSMALLINT  icol,
SQLUSMALLINT  fDescType,
SQLPOINTER  rgbDesc,
SQLSMALLINT  cbDescMax,
SQLSMALLINT pcbDesc,
SQLLEN *  pfDesc 
)

SQLRETURN SQL_API SQLColumnPrivileges ( SQLHSTMT  hstmt,
SQLCHAR szCatalogName,
SQLSMALLINT  cbCatalogName,
SQLCHAR szSchemaName,
SQLSMALLINT  cbSchemaName,
SQLCHAR szTableName,
SQLSMALLINT  cbTableName,
SQLCHAR szColumnName,
SQLSMALLINT  cbColumnName 
)

SQLRETURN SQL_API SQLDescribeParam ( SQLHSTMT  hstmt,
SQLUSMALLINT  ipar,
SQLSMALLINT pfSqlType,
SQLULEN *  pcbParamDef,
SQLSMALLINT pibScale,
SQLSMALLINT pfNullable 
)

Referenced by SqlOdbcStatement::prepare(), and SQLDescribeParam().

Here is the caller graph for this function:

SQLRETURN SQL_API SQLDriverConnect ( SQLHDBC  hdbc,
SQLHWND  hwnd,
SQLCHAR szConnStrIn,
SQLSMALLINT  cbConnStrIn,
SQLCHAR szConnStrOut,
SQLSMALLINT  cbConnStrOutMax,
SQLSMALLINT pcbConnStrOut,
SQLUSMALLINT  fDriverCompletion 
)

Definition at line 109 of file odbcDbc.cxx.

References isValidHandle(), SQL_HANDLE_DBC, SQL_INVALID_HANDLE, SQL_SUCCESS, and SQLConnect().

Referenced by SqlOdbcConnection::connect(), and CacheTableLoader::load().

00118 {
00119     printf("Connection string is %s\n", InConnectionString);
00120     // Validate handle
00121     if( isValidHandle( ConnectionHandle, SQL_HANDLE_DBC ) != SQL_SUCCESS )
00122                  return( SQL_INVALID_HANDLE );
00123     
00124     return( ((CSqlOdbcDbc*) ConnectionHandle)->SQLConnect((SQLCHAR*)"a", 
00125                       (SQLSMALLINT)strlen("a"), (SQLCHAR*)"root", (SQLSMALLINT)strlen("root"), 
00126                       (SQLCHAR*)"manager", (SQLSMALLINT)strlen("manager")) );
00127    
00128 }

Here is the call graph for this function:

Here is the caller graph for this function:

SQLRETURN SQL_API SQLDrivers ( SQLHENV  henv,
SQLUSMALLINT  fDirection,
SQLCHAR szDriverDesc,
SQLSMALLINT  cbDriverDescMax,
SQLSMALLINT pcbDriverDesc,
SQLCHAR szDriverAttributes,
SQLSMALLINT  cbDrvrAttrMax,
SQLSMALLINT pcbDrvrAttr 
)

SQLRETURN SQL_API SQLExtendedFetch ( SQLHSTMT  hstmt,
SQLUSMALLINT  fFetchType,
SQLROWOFFSET  irow,
SQLROWSETSIZE pcrow,
SQLUSMALLINT rgfRowStatus 
)

SQLRETURN SQL_API SQLForeignKeys ( SQLHSTMT  hstmt,
SQLCHAR szPkCatalogName,
SQLSMALLINT  cbPkCatalogName,
SQLCHAR szPkSchemaName,
SQLSMALLINT  cbPkSchemaName,
SQLCHAR szPkTableName,
SQLSMALLINT  cbPkTableName,
SQLCHAR szFkCatalogName,
SQLSMALLINT  cbFkCatalogName,
SQLCHAR szFkSchemaName,
SQLSMALLINT  cbFkSchemaName,
SQLCHAR szFkTableName,
SQLSMALLINT  cbFkTableName 
)

SQLRETURN SQL_API SQLMoreResults ( SQLHSTMT  hstmt  ) 

SQLRETURN SQL_API SQLNativeSql ( SQLHDBC  hdbc,
SQLCHAR szSqlStrIn,
SQLINTEGER  cbSqlStrIn,
SQLCHAR szSqlStr,
SQLINTEGER  cbSqlStrMax,
SQLINTEGER pcbSqlStr 
)

SQLRETURN SQL_API SQLNumParams ( SQLHSTMT  hstmt,
SQLSMALLINT pcpar 
)

Definition at line 1365 of file odbcStmt.cxx.

References isValidHandle(), SQL_HANDLE_STMT, SQL_INVALID_HANDLE, SQL_SUCCESS, and SQLNumParams().

Referenced by SqlOdbcStatement::prepare(), and SQLNumParams().

01368 {
01369     // Is Stmt valid ?
01370     if( isValidHandle( (CSqlOdbcStmt*) StatementHandle, SQL_HANDLE_STMT ) != SQL_SUCCESS )
01371         return( SQL_INVALID_HANDLE );
01372 
01373     return( ((CSqlOdbcStmt*) StatementHandle)->SQLNumParams(ParameterCountPtr) );
01374 }

Here is the call graph for this function:

Here is the caller graph for this function:

SQLRETURN SQL_API SQLParamOptions ( SQLHSTMT  hstmt,
SQLULEN  crow,
SQLULEN *  pirow 
)

SQLRETURN SQL_API SQLPrimaryKeys ( SQLHSTMT  hstmt,
SQLCHAR szCatalogName,
SQLSMALLINT  cbCatalogName,
SQLCHAR szSchemaName,
SQLSMALLINT  cbSchemaName,
SQLCHAR szTableName,
SQLSMALLINT  cbTableName 
)

Referenced by SqlOdbcStatement::getPrimaryKeyFieldName().

Here is the caller graph for this function:

SQLRETURN SQL_API SQLProcedureColumns ( SQLHSTMT  hstmt,
SQLCHAR szCatalogName,
SQLSMALLINT  cbCatalogName,
SQLCHAR szSchemaName,
SQLSMALLINT  cbSchemaName,
SQLCHAR szProcName,
SQLSMALLINT  cbProcName,
SQLCHAR szColumnName,
SQLSMALLINT  cbColumnName 
)

SQLRETURN SQL_API SQLProcedures ( SQLHSTMT  hstmt,
SQLCHAR szCatalogName,
SQLSMALLINT  cbCatalogName,
SQLCHAR szSchemaName,
SQLSMALLINT  cbSchemaName,
SQLCHAR szProcName,
SQLSMALLINT  cbProcName 
)

SQLRETURN SQL_API SQLSetPos ( SQLHSTMT  hstmt,
SQLSETPOSIROW  irow,
SQLUSMALLINT  fOption,
SQLUSMALLINT  fLock 
)

SQLRETURN SQL_API SQLSetScrollOptions ( SQLHSTMT  hstmt,
SQLUSMALLINT  fConcurrency,
SQLLEN  crowKeyset,
SQLUSMALLINT  crowRowset 
)

SQLRETURN SQL_API SQLTablePrivileges ( SQLHSTMT  hstmt,
SQLCHAR szCatalogName,
SQLSMALLINT  cbCatalogName,
SQLCHAR szSchemaName,
SQLSMALLINT  cbSchemaName,
SQLCHAR szTableName,
SQLSMALLINT  cbTableName 
)

RETCODE TraceCloseLogFile ( VOID   ) 

VOID TraceReturn ( RETCODE  ,
RETCODE   
)

DWORD TraceVersion ( VOID   ) 

RETCODE TraceVSControl ( DWORD   ) 


Generated on Mon Jun 9 22:39:18 2008 for csql by  doxygen 1.4.7