# odbcsql

- Manual
- Standard library
- Index

Search:
Group by:

# Types

    TSqlChar = char

  Source Edit

    TSqlSmallInt = int16

  Source Edit

    SqlUSmallInt = int16

  Source Edit

    SqlHandle = pointer

  Source Edit

    SqlHEnv = SqlHandle

  Source Edit

    SqlHDBC = SqlHandle

  Source Edit

    SqlHStmt = SqlHandle

  Source Edit

    SqlHDesc = SqlHandle

  Source Edit

    TSqlInteger = int

  Source Edit

    SqlUInteger = int

  Source Edit

    SqlPointer = pointer

  Source Edit

    TSqlReal = cfloat

  Source Edit

    TSqlDouble = cdouble

  Source Edit

    TSqlFloat = cdouble

  Source Edit

    SqlHWND = pointer

  Source Edit

    PSQLCHAR = cstring

  Source Edit

    PSQLINTEGER = ptr TSqlInteger

  Source Edit

    PSQLUINTEGER = ptr SqlUInteger

  Source Edit

    PSQLSMALLINT = ptr TSqlSmallInt

  Source Edit

    PSQLUSMALLINT = ptr SqlUSmallInt

  Source Edit

    PSQLREAL = ptr TSqlReal

  Source Edit

    PSQLDOUBLE = ptr TSqlDouble

  Source Edit

    PSQLFLOAT = ptr TSqlFloat

  Source Edit

    PSQLHANDLE = ptr SqlHandle

  Source Edit

    SQL_DATE_STRUCT {...}{.final, pure.} = object
      Year*: TSqlSmallInt
      Month*: SqlUSmallInt
      Day*: SqlUSmallInt

  Source Edit

    PSQL_DATE_STRUCT = ptr SQL_DATE_STRUCT

  Source Edit

    SQL_TIME_STRUCT {...}{.final, pure.} = object
      Hour*: SqlUSmallInt
      Minute*: SqlUSmallInt
      Second*: SqlUSmallInt

  Source Edit

    PSQL_TIME_STRUCT = ptr SQL_TIME_STRUCT

  Source Edit

    SQL_TIMESTAMP_STRUCT {...}{.final, pure.} = object
      Year*: SqlUSmallInt
      Month*: SqlUSmallInt
      Day*: SqlUSmallInt
      Hour*: SqlUSmallInt
      Minute*: SqlUSmallInt
      Second*: SqlUSmallInt
      Fraction*: SqlUInteger

  Source Edit

    PSQL_TIMESTAMP_STRUCT = ptr SQL_TIMESTAMP_STRUCT

  Source Edit

# Consts

    SQL_UNKNOWN_TYPE = 0

  Source Edit

    SQL_LONGVARCHAR = -1

  Source Edit

    SQL_BINARY = -2

  Source Edit

    SQL_VARBINARY = -3

  Source Edit

    SQL_LONGVARBINARY = -4

  Source Edit

    SQL_BIGINT = -5

  Source Edit

    SQL_TINYINT = -6

  Source Edit

    SQL_BIT = -7

  Source Edit

    SQL_WCHAR = -8

  Source Edit

    SQL_WVARCHAR = -9

  Source Edit

    SQL_WLONGVARCHAR = -10

  Source Edit

    SQL_CHAR = 1

  Source Edit

    SQL_NUMERIC = 2

  Source Edit

    SQL_DECIMAL = 3

  Source Edit

    SQL_INTEGER = 4

  Source Edit

    SQL_SMALLINT = 5

  Source Edit

    SQL_FLOAT = 6

  Source Edit

    SQL_REAL = 7

  Source Edit

    SQL_DOUBLE = 8

  Source Edit

    SQL_DATETIME = 9

  Source Edit

    SQL_VARCHAR = 12

  Source Edit

    SQL_TYPE_DATE = 91

  Source Edit

    SQL_TYPE_TIME = 92

  Source Edit

    SQL_TYPE_TIMESTAMP = 93

  Source Edit

    SQL_DATE = 9

  Source Edit

    SQL_TIME = 10

  Source Edit

    SQL_TIMESTAMP = 11

  Source Edit

    SQL_INTERVAL = 10

  Source Edit

    SQL_GUID = -11

  Source Edit

    SQL_CODE_YEAR = 1

  Source Edit

    SQL_CODE_MONTH = 2

  Source Edit

    SQL_CODE_DAY = 3

  Source Edit

    SQL_CODE_HOUR = 4

  Source Edit

    SQL_CODE_MINUTE = 5

  Source Edit

    SQL_CODE_SECOND = 6

  Source Edit

    SQL_CODE_YEAR_TO_MONTH = 7

  Source Edit

    SQL_CODE_DAY_TO_HOUR = 8

  Source Edit

    SQL_CODE_DAY_TO_MINUTE = 9

  Source Edit

    SQL_CODE_DAY_TO_SECOND = 10

  Source Edit

    SQL_CODE_HOUR_TO_MINUTE = 11

  Source Edit

    SQL_CODE_HOUR_TO_SECOND = 12

  Source Edit

    SQL_CODE_MINUTE_TO_SECOND = 13

  Source Edit

    SQL_INTERVAL_YEAR = 101

  Source Edit

    SQL_INTERVAL_MONTH = 102

  Source Edit

    SQL_INTERVAL_DAY = 103

  Source Edit

    SQL_INTERVAL_HOUR = 104

  Source Edit

    SQL_INTERVAL_MINUTE = 105

  Source Edit

    SQL_INTERVAL_SECOND = 106

  Source Edit

    SQL_INTERVAL_YEAR_TO_MONTH = 107

  Source Edit

    SQL_INTERVAL_DAY_TO_HOUR = 108

  Source Edit

    SQL_INTERVAL_DAY_TO_MINUTE = 109

  Source Edit

    SQL_INTERVAL_DAY_TO_SECOND = 110

  Source Edit

    SQL_INTERVAL_HOUR_TO_MINUTE = 111

  Source Edit

    SQL_INTERVAL_HOUR_TO_SECOND = 112

  Source Edit

    SQL_INTERVAL_MINUTE_TO_SECOND = 113

  Source Edit

    SQL_UNICODE = -8

  Source Edit

    SQL_UNICODE_VARCHAR = -9

  Source Edit

    SQL_UNICODE_LONGVARCHAR = -10

  Source Edit

    SQL_UNICODE_CHAR = -8

  Source Edit

    SQL_C_CHAR = 1

  Source Edit

    SQL_C_LONG = 4

  Source Edit

    SQL_C_SHORT = 5

  Source Edit

    SQL_C_FLOAT = 7

  Source Edit

    SQL_C_DOUBLE = 8

  Source Edit

    SQL_C_NUMERIC = 2

  Source Edit

    SQL_C_DEFAULT = 99

  Source Edit

    SQL_SIGNED_OFFSET = -20

  Source Edit

    SQL_UNSIGNED_OFFSET = -22

  Source Edit

    SQL_C_DATE = 9

  Source Edit

    SQL_C_TIME = 10

  Source Edit

    SQL_C_TIMESTAMP = 11

  Source Edit

    SQL_C_TYPE_DATE = 91

  Source Edit

    SQL_C_TYPE_TIME = 92

  Source Edit

    SQL_C_TYPE_TIMESTAMP = 93

  Source Edit

    SQL_C_INTERVAL_YEAR = 101

  Source Edit

    SQL_C_INTERVAL_MONTH = 102

  Source Edit

    SQL_C_INTERVAL_DAY = 103

  Source Edit

    SQL_C_INTERVAL_HOUR = 104

  Source Edit

    SQL_C_INTERVAL_MINUTE = 105

  Source Edit

    SQL_C_INTERVAL_SECOND = 106

  Source Edit

    SQL_C_INTERVAL_YEAR_TO_MONTH = 107

  Source Edit

    SQL_C_INTERVAL_DAY_TO_HOUR = 108

  Source Edit

    SQL_C_INTERVAL_DAY_TO_MINUTE = 109

  Source Edit

    SQL_C_INTERVAL_DAY_TO_SECOND = 110

  Source Edit

    SQL_C_INTERVAL_HOUR_TO_MINUTE = 111

  Source Edit

    SQL_C_INTERVAL_HOUR_TO_SECOND = 112

  Source Edit

    SQL_C_INTERVAL_MINUTE_TO_SECOND = 113

  Source Edit

    SQL_C_BINARY = -2

  Source Edit

    SQL_C_BIT = -7

  Source Edit

    SQL_C_SBIGINT = -25

  Source Edit

    SQL_C_UBIGINT = -27

  Source Edit

    SQL_C_TINYINT = -6

  Source Edit

    SQL_C_SLONG = -16

  Source Edit

    SQL_C_SSHORT = -15

  Source Edit

    SQL_C_STINYINT = -26

  Source Edit

    SQL_C_ULONG = -18

  Source Edit

    SQL_C_USHORT = -17

  Source Edit

    SQL_C_UTINYINT = -28

  Source Edit

    SQL_C_BOOKMARK = -18

  Source Edit

    SQL_C_GUID = -11

  Source Edit

    SQL_TYPE_NULL = 0

  Source Edit

    SQL_C_VARBOOKMARK = -2

  Source Edit

    SQL_API_SQLDESCRIBEPARAM = 58

  Source Edit

    SQL_NO_TOTAL = -4

  Source Edit

    SQL_NAME_LEN = 128

  Source Edit

    SQL_OV_ODBC3 = 3

  Source Edit

    SQL_OV_ODBC2 = 2

  Source Edit

    SQL_ATTR_ODBC_VERSION = 200

  Source Edit

    SQL_DRIVER_NOPROMPT = 0

  Source Edit

    SQL_DRIVER_COMPLETE = 1

  Source Edit

    SQL_DRIVER_PROMPT = 2

  Source Edit

    SQL_DRIVER_COMPLETE_REQUIRED = 3

  Source Edit

    SQL_IS_POINTER = -4

  Source Edit

    SQL_IS_UINTEGER = -5

  Source Edit

    SQL_IS_INTEGER = -6

  Source Edit

    SQL_IS_USMALLINT = -7

  Source Edit

    SQL_IS_SMALLINT = -8

  Source Edit

    SQL_FETCH_BOOKMARK = 8

  Source Edit

    SQL_SCROLL_OPTIONS = 44

  Source Edit

    SQL_UB_OFF = 0

  Source Edit

    SQL_UB_ON = 1

  Source Edit

    SQL_UB_DEFAULT = 0

  Source Edit

    SQL_UB_FIXED = 1

  Source Edit

    SQL_UB_VARIABLE = 2

  Source Edit

    SQL_SO_FORWARD_ONLY = 0x00000001

  Source Edit

    SQL_SO_KEYSET_DRIVEN = 0x00000002

  Source Edit

    SQL_SO_DYNAMIC = 0x00000004

  Source Edit

    SQL_SO_MIXED = 0x00000008

  Source Edit

    SQL_SO_STATIC = 0x00000010

  Source Edit

    SQL_BOOKMARK_PERSISTENCE = 82

  Source Edit

    SQL_STATIC_SENSITIVITY = 83

  Source Edit

    SQL_BP_CLOSE = 0x00000001

  Source Edit

    SQL_BP_DELETE = 0x00000002

  Source Edit

    SQL_BP_DROP = 0x00000004

  Source Edit

    SQL_BP_TRANSACTION = 0x00000008

  Source Edit

    SQL_BP_UPDATE = 0x00000010

  Source Edit

    SQL_BP_OTHER_HSTMT = 0x00000020

  Source Edit

    SQL_BP_SCROLL = 0x00000040

  Source Edit

    SQL_DYNAMIC_CURSOR_ATTRIBUTES1 = 144

  Source Edit

    SQL_DYNAMIC_CURSOR_ATTRIBUTES2 = 145

  Source Edit

    SQL_FORWARD_ONLY_CURSOR_ATTRIBUTES1 = 146

  Source Edit

    SQL_FORWARD_ONLY_CURSOR_ATTRIBUTES2 = 147

  Source Edit

    SQL_INDEX_KEYWORDS = 148

  Source Edit

    SQL_INFO_SCHEMA_VIEWS = 149

  Source Edit

    SQL_KEYSET_CURSOR_ATTRIBUTES1 = 150

  Source Edit

    SQL_KEYSET_CURSOR_ATTRIBUTES2 = 151

  Source Edit

    SQL_STATIC_CURSOR_ATTRIBUTES1 = 167

  Source Edit

    SQL_STATIC_CURSOR_ATTRIBUTES2 = 168

  Source Edit

    SQL_CA1_NEXT = 1

  Source Edit

    SQL_CA1_ABSOLUTE = 2

  Source Edit

    SQL_CA1_RELATIVE = 4

  Source Edit

    SQL_CA1_BOOKMARK = 8

  Source Edit

    SQL_CA1_LOCK_NO_CHANGE = 0x00000040

  Source Edit

    SQL_CA1_LOCK_EXCLUSIVE = 0x00000080

  Source Edit

    SQL_CA1_LOCK_UNLOCK = 0x00000100

  Source Edit

    SQL_CA1_POS_POSITION = 0x00000200

  Source Edit

    SQL_CA1_POS_UPDATE = 0x00000400

  Source Edit

    SQL_CA1_POS_DELETE = 0x00000800

  Source Edit

    SQL_CA1_POS_REFRESH = 0x00001000

  Source Edit

    SQL_CA1_POSITIONED_UPDATE = 0x00002000

  Source Edit

    SQL_CA1_POSITIONED_DELETE = 0x00004000

  Source Edit

    SQL_CA1_SELECT_FOR_UPDATE = 0x00008000

  Source Edit

    SQL_CA1_BULK_ADD = 0x00010000

  Source Edit

    SQL_CA1_BULK_UPDATE_BY_BOOKMARK = 0x00020000

  Source Edit

    SQL_CA1_BULK_DELETE_BY_BOOKMARK = 0x00040000

  Source Edit

    SQL_CA1_BULK_FETCH_BY_BOOKMARK = 0x00080000

  Source Edit

    SQL_CA2_READ_ONLY_CONCURRENCY = 1

  Source Edit

    SQL_CA2_LOCK_CONCURRENCY = 2

  Source Edit

    SQL_CA2_OPT_ROWVER_CONCURRENCY = 4

  Source Edit

    SQL_CA2_OPT_VALUES_CONCURRENCY = 8

  Source Edit

    SQL_CA2_SENSITIVITY_ADDITIONS = 0x00000010

  Source Edit

    SQL_CA2_SENSITIVITY_DELETIONS = 0x00000020

  Source Edit

    SQL_CA2_SENSITIVITY_UPDATES = 0x00000040

  Source Edit

    SQL_CA2_MAX_ROWS_SELECT = 0x00000080

  Source Edit

    SQL_CA2_MAX_ROWS_INSERT = 0x00000100

  Source Edit

    SQL_CA2_MAX_ROWS_DELETE = 0x00000200

  Source Edit

    SQL_CA2_MAX_ROWS_UPDATE = 0x00000400

  Source Edit

    SQL_CA2_MAX_ROWS_CATALOG = 0x00000800

  Source Edit

    SQL_CA2_MAX_ROWS_AFFECTS_ALL = 3968

  Source Edit

    SQL_CA2_CRC_EXACT = 0x00001000

  Source Edit

    SQL_CA2_CRC_APPROXIMATE = 0x00002000

  Source Edit

    SQL_CA2_SIMULATE_NON_UNIQUE = 0x00004000

  Source Edit

    SQL_CA2_SIMULATE_TRY_UNIQUE = 0x00008000

  Source Edit

    SQL_CA2_SIMULATE_UNIQUE = 0x00010000

  Source Edit

    SQL_ADD = 4

  Source Edit

    SQL_SETPOS_MAX_OPTION_VALUE = 4

  Source Edit

    SQL_UPDATE_BY_BOOKMARK = 5

  Source Edit

    SQL_DELETE_BY_BOOKMARK = 6

  Source Edit

    SQL_FETCH_BY_BOOKMARK = 7

  Source Edit

    SQL_POSITION = 0

  Source Edit

    SQL_REFRESH = 1

  Source Edit

    SQL_UPDATE = 2

  Source Edit

    SQL_DELETE = 3

  Source Edit

    SQL_LOCK_NO_CHANGE = 0

  Source Edit

    SQL_LOCK_EXCLUSIVE = 1

  Source Edit

    SQL_LOCK_UNLOCK = 2

  Source Edit

    SQL_ROW_SUCCESS = 0

  Source Edit

    SQL_ROW_DELETED = 1

  Source Edit

    SQL_ROW_UPDATED = 2

  Source Edit

    SQL_ROW_NOROW = 3

  Source Edit

    SQL_ROW_ADDED = 4

  Source Edit

    SQL_ROW_ERROR = 5

  Source Edit

    SQL_ROW_SUCCESS_WITH_INFO = 6

  Source Edit

    SQL_ROW_PROCEED = 0

  Source Edit

    SQL_ROW_IGNORE = 1

  Source Edit

    SQL_MAX_DSN_LENGTH = 32

  Source Edit

    SQL_MAX_OPTION_STRING_LENGTH = 256

  Source Edit

    SQL_ODBC_CURSORS = 110

  Source Edit

    SQL_ATTR_ODBC_CURSORS = 110

  Source Edit

    SQL_CUR_USE_IF_NEEDED = 0

  Source Edit

    SQL_CUR_USE_ODBC = 1

  Source Edit

    SQL_CUR_USE_DRIVER = 2

  Source Edit

    SQL_CUR_DEFAULT = 2

  Source Edit

    SQL_PARAM_TYPE_UNKNOWN = 0

  Source Edit

    SQL_PARAM_INPUT = 1

  Source Edit

    SQL_PARAM_INPUT_OUTPUT = 2

  Source Edit

    SQL_RESULT_COL = 3

  Source Edit

    SQL_PARAM_OUTPUT = 4

  Source Edit

    SQL_RETURN_VALUE = 5

  Source Edit

    SQL_NULL_DATA = -1

  Source Edit

    SQL_DATA_AT_EXEC = -2

  Source Edit

    SQL_SUCCESS = 0

  Source Edit

    SQL_SUCCESS_WITH_INFO = 1

  Source Edit

    SQL_NO_DATA = 100

  Source Edit

    SQL_ERROR = -1

  Source Edit

    SQL_INVALID_HANDLE = -2

  Source Edit

    SQL_STILL_EXECUTING = 2

  Source Edit

    SQL_NEED_DATA = 99

  Source Edit

    SQL_NTS = -3

  Source Edit

    SQL_MAX_MESSAGE_LENGTH = 512

  Source Edit

    SQL_DATE_LEN = 10

  Source Edit

    SQL_TIME_LEN = 8

  Source Edit

    SQL_TIMESTAMP_LEN = 19

  Source Edit

    SQL_HANDLE_ENV = 1

  Source Edit

    SQL_HANDLE_DBC = 2

  Source Edit

    SQL_HANDLE_STMT = 3

  Source Edit

    SQL_HANDLE_DESC = 4

  Source Edit

    SQL_ATTR_OUTPUT_NTS = 10001

  Source Edit

    SQL_ATTR_AUTO_IPD = 10001

  Source Edit

    SQL_ATTR_METADATA_ID = 10014

  Source Edit

    SQL_ATTR_APP_ROW_DESC = 10010

  Source Edit

    SQL_ATTR_APP_PARAM_DESC = 10011

  Source Edit

    SQL_ATTR_IMP_ROW_DESC = 10012

  Source Edit

    SQL_ATTR_IMP_PARAM_DESC = 10013

  Source Edit

    SQL_ATTR_CURSOR_SCROLLABLE = -1

  Source Edit

    SQL_ATTR_CURSOR_SENSITIVITY = -2

  Source Edit

    SQL_QUERY_TIMEOUT = 0

  Source Edit

    SQL_MAX_ROWS = 1

  Source Edit

    SQL_NOSCAN = 2

  Source Edit

    SQL_MAX_LENGTH = 3

  Source Edit

    SQL_ASYNC_ENABLE = 4

  Source Edit

    SQL_BIND_TYPE = 5

  Source Edit

    SQL_CURSOR_TYPE = 6

  Source Edit

    SQL_CONCURRENCY = 7

  Source Edit

    SQL_KEYSET_SIZE = 8

  Source Edit

    SQL_ROWSET_SIZE = 9

  Source Edit

    SQL_SIMULATE_CURSOR = 10

  Source Edit

    SQL_RETRIEVE_DATA = 11

  Source Edit

    SQL_USE_BOOKMARKS = 12

  Source Edit

    SQL_GET_BOOKMARK = 13

  Source Edit

    SQL_ROW_NUMBER = 14

  Source Edit

    SQL_ATTR_CURSOR_TYPE = 6

  Source Edit

    SQL_ATTR_CONCURRENCY = 7

  Source Edit

    SQL_ATTR_FETCH_BOOKMARK_PTR = 16

  Source Edit

    SQL_ATTR_ROW_STATUS_PTR = 25

  Source Edit

    SQL_ATTR_ROWS_FETCHED_PTR = 26

  Source Edit

    SQL_AUTOCOMMIT = 102

  Source Edit

    SQL_ATTR_AUTOCOMMIT = 102

  Source Edit

    SQL_ATTR_ROW_NUMBER = 14

  Source Edit

    SQL_TXN_ISOLATION = 108

  Source Edit

    SQL_ATTR_TXN_ISOLATION = 108

  Source Edit

    SQL_ATTR_MAX_ROWS = 1

  Source Edit

    SQL_ATTR_USE_BOOKMARKS = 12

  Source Edit

    SQL_ACCESS_MODE = 101

  Source Edit

    SQL_LOGIN_TIMEOUT = 103

  Source Edit

    SQL_OPT_TRACE = 104

  Source Edit

    SQL_OPT_TRACEFILE = 105

  Source Edit

    SQL_TRANSLATE_DLL = 106

  Source Edit

    SQL_TRANSLATE_OPTION = 107

  Source Edit

    SQL_CURRENT_QUALIFIER = 109

  Source Edit

    SQL_QUIET_MODE = 111

  Source Edit

    SQL_PACKET_SIZE = 112

  Source Edit

    SQL_ATTR_ACCESS_MODE = 101

  Source Edit

    SQL_ATTR_CONNECTION_DEAD = 1209

  Source Edit

    SQL_ATTR_CONNECTION_TIMEOUT = 113

  Source Edit

    SQL_ATTR_CURRENT_CATALOG = 109

  Source Edit

    SQL_ATTR_DISCONNECT_BEHAVIOR = 114

  Source Edit

    SQL_ATTR_ENLIST_IN_DTC = 1207

  Source Edit

    SQL_ATTR_ENLIST_IN_XA = 1208

  Source Edit

    SQL_ATTR_LOGIN_TIMEOUT = 103

  Source Edit

    SQL_ATTR_PACKET_SIZE = 112

  Source Edit

    SQL_ATTR_QUIET_MODE = 111

  Source Edit

    SQL_ATTR_TRACE = 104

  Source Edit

    SQL_ATTR_TRACEFILE = 105

  Source Edit

    SQL_ATTR_TRANSLATE_LIB = 106

  Source Edit

    SQL_ATTR_TRANSLATE_OPTION = 107

  Source Edit

    SQL_MODE_READ_WRITE = 0

  Source Edit

    SQL_MODE_READ_ONLY = 1

  Source Edit

    SQL_MODE_DEFAULT = 0

  Source Edit

    SQL_AUTOCOMMIT_OFF = 0

  Source Edit

    SQL_AUTOCOMMIT_ON = 1

  Source Edit

    SQL_AUTOCOMMIT_DEFAULT = 1

  Source Edit

    SQL_NONSCROLLABLE = 0

  Source Edit

    SQL_SCROLLABLE = 1

  Source Edit

    SQL_CURSOR_FORWARD_ONLY = 0

  Source Edit

    SQL_CURSOR_KEYSET_DRIVEN = 1

  Source Edit

    SQL_CURSOR_DYNAMIC = 2

  Source Edit

    SQL_CURSOR_STATIC = 3

  Source Edit

    SQL_CURSOR_TYPE_DEFAULT = 0

  Source Edit

    SQL_CONCUR_READ_ONLY = 1

  Source Edit

    SQL_CONCUR_LOCK = 2

  Source Edit

    SQL_CONCUR_ROWVER = 3

  Source Edit

    SQL_CONCUR_VALUES = 4

  Source Edit

    SQL_CONCUR_DEFAULT = 1

  Source Edit

    SQL_DESC_COUNT = 1001

  Source Edit

    SQL_DESC_TYPE = 1002

  Source Edit

    SQL_DESC_LENGTH = 1003

  Source Edit

    SQL_DESC_OCTET_LENGTH_PTR = 1004

  Source Edit

    SQL_DESC_PRECISION = 1005

  Source Edit

    SQL_DESC_SCALE = 1006

  Source Edit

    SQL_DESC_DATETIME_INTERVAL_CODE = 1007

  Source Edit

    SQL_DESC_NULLABLE = 1008

  Source Edit

    SQL_DESC_INDICATOR_PTR = 1009

  Source Edit

    SQL_DESC_DATA_PTR = 1010

  Source Edit

    SQL_DESC_NAME = 1011

  Source Edit

    SQL_DESC_UNNAMED = 1012

  Source Edit

    SQL_DESC_OCTET_LENGTH = 1013

  Source Edit

    SQL_DESC_ALLOC_TYPE = 1099

  Source Edit

    SQL_DIAG_RETURNCODE = 1

  Source Edit

    SQL_DIAG_NUMBER = 2

  Source Edit

    SQL_DIAG_ROW_COUNT = 3

  Source Edit

    SQL_DIAG_SQLSTATE = 4

  Source Edit

    SQL_DIAG_NATIVE = 5

  Source Edit

    SQL_DIAG_MESSAGE_TEXT = 6

  Source Edit

    SQL_DIAG_DYNAMIC_FUNCTION = 7

  Source Edit

    SQL_DIAG_CLASS_ORIGIN = 8

  Source Edit

    SQL_DIAG_SUBCLASS_ORIGIN = 9

  Source Edit

    SQL_DIAG_CONNECTION_NAME = 10

  Source Edit

    SQL_DIAG_SERVER_NAME = 11

  Source Edit

    SQL_DIAG_DYNAMIC_FUNCTION_CODE = 12

  Source Edit

    SQL_DIAG_ALTER_TABLE = 4

  Source Edit

    SQL_DIAG_CREATE_INDEX = -1

  Source Edit

    SQL_DIAG_CREATE_TABLE = 77

  Source Edit

    SQL_DIAG_CREATE_VIEW = 84

  Source Edit

    SQL_DIAG_DELETE_WHERE = 19

  Source Edit

    SQL_DIAG_DROP_INDEX = -2

  Source Edit

    SQL_DIAG_DROP_TABLE = 32

  Source Edit

    SQL_DIAG_DROP_VIEW = 36

  Source Edit

    SQL_DIAG_DYNAMIC_DELETE_CURSOR = 38

  Source Edit

    SQL_DIAG_DYNAMIC_UPDATE_CURSOR = 81

  Source Edit

    SQL_DIAG_GRANT = 48

  Source Edit

    SQL_DIAG_INSERT = 50

  Source Edit

    SQL_DIAG_REVOKE = 59

  Source Edit

    SQL_DIAG_SELECT_CURSOR = 85

  Source Edit

    SQL_DIAG_UNKNOWN_STATEMENT = 0

  Source Edit

    SQL_DIAG_UPDATE_WHERE = 82

  Source Edit

    SQL_UNSPECIFIED = 0

  Source Edit

    SQL_INSENSITIVE = 1

  Source Edit

    SQL_SENSITIVE = 2

  Source Edit

    SQL_ALL_TYPES = 0

  Source Edit

    SQL_DEFAULT = 99

  Source Edit

    SQL_ARD_TYPE = -99

  Source Edit

    SQL_CODE_DATE = 1

  Source Edit

    SQL_CODE_TIME = 2

  Source Edit

    SQL_CODE_TIMESTAMP = 3

  Source Edit

    SQL_FALSE = 0

  Source Edit

    SQL_TRUE = 1

  Source Edit

    SQL_NO_NULLS = 0

  Source Edit

    SQL_NULLABLE = 1

  Source Edit

    SQL_NULLABLE_UNKNOWN = 2

  Source Edit

    SQL_CLOSE = 0

  Source Edit

    SQL_DROP = 1

  Source Edit

    SQL_UNBIND = 2

  Source Edit

    SQL_RESET_PARAMS = 3

  Source Edit

    SQL_FETCH_NEXT = 1

  Source Edit

    SQL_FETCH_FIRST = 2

  Source Edit

    SQL_FETCH_FIRST_USER = 31

  Source Edit

    SQL_FETCH_FIRST_SYSTEM = 32

  Source Edit

    SQL_FETCH_LAST = 3

  Source Edit

    SQL_FETCH_PRIOR = 4

  Source Edit

    SQL_FETCH_ABSOLUTE = 5

  Source Edit

    SQL_FETCH_RELATIVE = 6

  Source Edit

    SQL_NULL_HENV = nil

  Source Edit

    SQL_NULL_HDBC = nil

  Source Edit

    SQL_NULL_HSTMT = nil

  Source Edit

    SQL_NULL_HDESC = nil

  Source Edit

    SQL_NULL_HANDLE = nil

  Source Edit

    SQL_SCOPE_CURROW = 0

  Source Edit

    SQL_SCOPE_TRANSACTION = 1

  Source Edit

    SQL_SCOPE_SESSION = 2

  Source Edit

    SQL_BEST_ROWID = 1

  Source Edit

    SQL_ROWVER = 2

  Source Edit

    SQL_ROW_IDENTIFIER = 1

  Source Edit

    SQL_INDEX_UNIQUE = 0

  Source Edit

    SQL_INDEX_ALL = 1

  Source Edit

    SQL_QUICK = 0

  Source Edit

    SQL_ENSURE = 1

  Source Edit

    SQL_TABLE_STAT = 0

  Source Edit

    SQL_INDEX_CLUSTERED = 1

  Source Edit

    SQL_INDEX_HASHED = 2

  Source Edit

    SQL_INDEX_OTHER = 3

  Source Edit

    SQL_SCROLL_CONCURRENCY = 43

  Source Edit

    SQL_TXN_CAPABLE = 46

  Source Edit

    SQL_TRANSACTION_CAPABLE = 46

  Source Edit

    SQL_USER_NAME = 47

  Source Edit

    SQL_TXN_ISOLATION_OPTION = 72

  Source Edit

    SQL_TRANSACTION_ISOLATION_OPTION = 72

  Source Edit

    SQL_OJ_CAPABILITIES = 115

  Source Edit

    SQL_OUTER_JOIN_CAPABILITIES = 115

  Source Edit

    SQL_XOPEN_CLI_YEAR = 10000

  Source Edit

    SQL_CURSOR_SENSITIVITY = 10001

  Source Edit

    SQL_DESCRIBE_PARAMETER = 10002

  Source Edit

    SQL_CATALOG_NAME = 10003

  Source Edit

    SQL_COLLATION_SEQ = 10004

  Source Edit

    SQL_MAX_IDENTIFIER_LEN = 10005

  Source Edit

    SQL_MAXIMUM_IDENTIFIER_LENGTH = 10005

  Source Edit

    SQL_SCCO_READ_ONLY = 1

  Source Edit

    SQL_SCCO_LOCK = 2

  Source Edit

    SQL_SCCO_OPT_ROWVER = 4

  Source Edit

    SQL_SCCO_OPT_VALUES = 8

  Source Edit

    SQL_TC_NONE = 0

  Source Edit

    SQL_TC_DML = 1

  Source Edit

    SQL_TC_ALL = 2

  Source Edit

    SQL_TC_DDL_COMMIT = 3

  Source Edit

    SQL_TC_DDL_IGNORE = 4

  Source Edit

    SQL_TXN_READ_UNCOMMITTED = 1

  Source Edit

    SQL_TRANSACTION_READ_UNCOMMITTED = 1

  Source Edit

    SQL_TXN_READ_COMMITTED = 2

  Source Edit

    SQL_TRANSACTION_READ_COMMITTED = 2

  Source Edit

    SQL_TXN_REPEATABLE_READ = 4

  Source Edit

    SQL_TRANSACTION_REPEATABLE_READ = 4

  Source Edit

    SQL_TXN_SERIALIZABLE = 8

  Source Edit

    SQL_TRANSACTION_SERIALIZABLE = 8

  Source Edit

    SQL_SS_ADDITIONS = 1

  Source Edit

    SQL_SS_DELETIONS = 2

  Source Edit

    SQL_SS_UPDATES = 4

  Source Edit

    SQL_COLUMN_COUNT = 0

  Source Edit

    SQL_COLUMN_NAME = 1

  Source Edit

    SQL_COLUMN_TYPE = 2

  Source Edit

    SQL_COLUMN_LENGTH = 3

  Source Edit

    SQL_COLUMN_PRECISION = 4

  Source Edit

    SQL_COLUMN_SCALE = 5

  Source Edit

    SQL_COLUMN_DISPLAY_SIZE = 6

  Source Edit

    SQL_COLUMN_NULLABLE = 7

  Source Edit

    SQL_COLUMN_UNSIGNED = 8

  Source Edit

    SQL_COLUMN_MONEY = 9

  Source Edit

    SQL_COLUMN_UPDATABLE = 10

  Source Edit

    SQL_COLUMN_AUTO_INCREMENT = 11

  Source Edit

    SQL_COLUMN_CASE_SENSITIVE = 12

  Source Edit

    SQL_COLUMN_SEARCHABLE = 13

  Source Edit

    SQL_COLUMN_TYPE_NAME = 14

  Source Edit

    SQL_COLUMN_TABLE_NAME = 15

  Source Edit

    SQL_COLUMN_OWNER_NAME = 16

  Source Edit

    SQL_COLUMN_QUALIFIER_NAME = 17

  Source Edit

    SQL_COLUMN_LABEL = 18

  Source Edit

    SQL_COLATT_OPT_MAX = 18

  Source Edit

    SQL_COLUMN_DRIVER_START = 1000

  Source Edit

    SQL_DESC_ARRAY_SIZE = 20

  Source Edit

    SQL_DESC_ARRAY_STATUS_PTR = 21

  Source Edit

    SQL_DESC_AUTO_UNIQUE_VALUE = 11

  Source Edit

    SQL_DESC_BASE_COLUMN_NAME = 22

  Source Edit

    SQL_DESC_BASE_TABLE_NAME = 23

  Source Edit

    SQL_DESC_BIND_OFFSET_PTR = 24

  Source Edit

    SQL_DESC_BIND_TYPE = 25

  Source Edit

    SQL_DESC_CASE_SENSITIVE = 12

  Source Edit

    SQL_DESC_CATALOG_NAME = 17

  Source Edit

    SQL_DESC_CONCISE_TYPE = 2

  Source Edit

    SQL_DESC_DATETIME_INTERVAL_PRECISION = 26

  Source Edit

    SQL_DESC_DISPLAY_SIZE = 6

  Source Edit

    SQL_DESC_FIXED_PREC_SCALE = 9

  Source Edit

    SQL_DESC_LABEL = 18

  Source Edit

    SQL_DESC_LITERAL_PREFIX = 27

  Source Edit

    SQL_DESC_LITERAL_SUFFIX = 28

  Source Edit

    SQL_DESC_LOCAL_TYPE_NAME = 29

  Source Edit

    SQL_DESC_MAXIMUM_SCALE = 30

  Source Edit

    SQL_DESC_MINIMUM_SCALE = 31

  Source Edit

    SQL_DESC_NUM_PREC_RADIX = 32

  Source Edit

    SQL_DESC_PARAMETER_TYPE = 33

  Source Edit

    SQL_DESC_ROWS_PROCESSED_PTR = 34

  Source Edit

    SQL_DESC_SCHEMA_NAME = 16

  Source Edit

    SQL_DESC_SEARCHABLE = 13

  Source Edit

    SQL_DESC_TYPE_NAME = 14

  Source Edit

    SQL_DESC_TABLE_NAME = 15

  Source Edit

    SQL_DESC_UNSIGNED = 8

  Source Edit

    SQL_DESC_UPDATABLE = 10

  Source Edit

    SQL_COMMIT = 0

  Source Edit

    SQL_ROLLBACK = 1

  Source Edit

    SQL_ATTR_ROW_ARRAY_SIZE = 27

  Source Edit

    ODBC_ADD_DSN = 1

  Source Edit

    ODBC_CONFIG_DSN = 2

  Source Edit

    ODBC_REMOVE_DSN = 3

  Source Edit

    ODBC_ADD_SYS_DSN = 4

  Source Edit

    ODBC_CONFIG_SYS_DSN = 5

  Source Edit

    ODBC_REMOVE_SYS_DSN = 6

  Source Edit

    SQL_ACTIVE_CONNECTIONS = 0

  Source Edit

    SQL_DATA_SOURCE_NAME = 2

  Source Edit

    SQL_DATA_SOURCE_READ_ONLY = 25

  Source Edit

    SQL_DATABASE_NAME = 2

  Source Edit

    SQL_DBMS_NAME = 17

  Source Edit

    SQL_DBMS_VERSION = 18

  Source Edit

    SQL_DRIVER_HDBC = 3

  Source Edit

    SQL_DRIVER_HENV = 4

  Source Edit

    SQL_DRIVER_HSTMT = 5

  Source Edit

    SQL_DRIVER_NAME = 6

  Source Edit

    SQL_DRIVER_VER = 7

  Source Edit

    SQL_FETCH_DIRECTION = 8

  Source Edit

    SQL_ODBC_VER = 10

  Source Edit

    SQL_DRIVER_ODBC_VER = 77

  Source Edit

    SQL_SERVER_NAME = 13

  Source Edit

    SQL_ACTIVE_ENVIRONMENTS = 116

  Source Edit

    SQL_ACTIVE_STATEMENTS = 1

  Source Edit

    SQL_SQL_CONFORMANCE = 118

  Source Edit

    SQL_DATETIME_LITERALS = 119

  Source Edit

    SQL_ASYNC_MODE = 10021

  Source Edit

    SQL_BATCH_ROW_COUNT = 120

  Source Edit

    SQL_BATCH_SUPPORT = 121

  Source Edit

    SQL_CATALOG_LOCATION = 114

  Source Edit

    SQL_CATALOG_NAME_SEPARATOR = 41

  Source Edit

    SQL_CATALOG_TERM = 42

  Source Edit

    SQL_CATALOG_USAGE = 92

  Source Edit

    SQL_COLUMN_ALIAS = 87

  Source Edit

# Procs

    proc SQLAllocHandle(HandleType: TSqlSmallInt; InputHandle: SqlHandle;
                       OutputHandlePtr: var SqlHandle): TSqlSmallInt {...}{.dynlib: odbclib,
        importc.}

  Source Edit

    proc SQLSetEnvAttr(EnvironmentHandle: SqlHEnv; Attribute: TSqlInteger;
                      Value: TSqlInteger; StringLength: TSqlInteger): TSqlSmallInt {...}{.
        dynlib: odbclib, importc.}

  Source Edit

    proc SQLGetEnvAttr(EnvironmentHandle: SqlHEnv; Attribute: TSqlInteger;
                      Value: SqlPointer; BufferLength: TSqlInteger;
                      StringLength: PSQLINTEGER): TSqlSmallInt {...}{.dynlib: odbclib, importc.}

  Source Edit

    proc SQLFreeHandle(HandleType: TSqlSmallInt; Handle: SqlHandle): TSqlSmallInt {...}{.
        dynlib: odbclib, importc.}

  Source Edit

    proc SQLGetDiagRec(HandleType: TSqlSmallInt; Handle: SqlHandle;
                      RecNumber: TSqlSmallInt; Sqlstate: PSQLCHAR;
                      NativeError: var TSqlInteger; MessageText: PSQLCHAR;
                      BufferLength: TSqlSmallInt; TextLength: var TSqlSmallInt): TSqlSmallInt {...}{.
        dynlib: odbclib, importc.}

  Source Edit

    proc SQLGetDiagField(HandleType: TSqlSmallInt; Handle: SqlHandle;
                        RecNumber: TSqlSmallInt; DiagIdentifier: TSqlSmallInt;
                        DiagInfoPtr: SqlPointer; BufferLength: TSqlSmallInt;
                        StringLengthPtr: var TSqlSmallInt): TSqlSmallInt {...}{.
        dynlib: odbclib, importc.}

  Source Edit

    proc SQLConnect(ConnectionHandle: SqlHDBC; ServerName: PSQLCHAR;
                   NameLength1: TSqlSmallInt; UserName: PSQLCHAR;
                   NameLength2: TSqlSmallInt; Authentication: PSQLCHAR;
                   NameLength3: TSqlSmallInt): TSqlSmallInt {...}{.dynlib: odbclib, importc.}

  Source Edit

    proc SQLDisconnect(ConnectionHandle: SqlHDBC): TSqlSmallInt {...}{.dynlib: odbclib, importc.}

  Source Edit

    proc SQLDriverConnect(hdbc: SqlHDBC; hwnd: SqlHWND; szCsin: cstring;
                         szCLen: TSqlSmallInt; szCsout: cstring; cbCSMax: TSqlSmallInt;
                         cbCsOut: var TSqlSmallInt; f: SqlUSmallInt): TSqlSmallInt {...}{.
        dynlib: odbclib, importc.}

  Source Edit

    proc SQLBrowseConnect(hdbc: SqlHDBC; szConnStrIn: PSQLCHAR;
                         cbConnStrIn: TSqlSmallInt; szConnStrOut: PSQLCHAR;
                         cbConnStrOutMax: TSqlSmallInt; cbConnStrOut: var TSqlSmallInt): TSqlSmallInt {...}{.
        dynlib: odbclib, importc.}

  Source Edit

    proc SQLExecDirect(StatementHandle: SqlHStmt; StatementText: PSQLCHAR;
                      TextLength: TSqlInteger): TSqlSmallInt {...}{.dynlib: odbclib, importc.}

  Source Edit

    proc SQLExecDirectW(StatementHandle: SqlHStmt; StatementText: WideCString;
                       TextLength: TSqlInteger): TSqlSmallInt {...}{.dynlib: odbclib, importc.}

  Source Edit

    proc SQLPrepare(StatementHandle: SqlHStmt; StatementText: PSQLCHAR;
                   TextLength: TSqlInteger): TSqlSmallInt {...}{.dynlib: odbclib, importc.}

  Source Edit

    proc SQLPrepareW(StatementHandle: SqlHStmt; StatementText: WideCString;
                    TextLength: TSqlInteger): TSqlSmallInt {...}{.dynlib: odbclib, importc.}

  Source Edit

    proc SQLCloseCursor(StatementHandle: SqlHStmt): TSqlSmallInt {...}{.dynlib: odbclib,
        importc.}

  Source Edit

    proc SQLExecute(StatementHandle: SqlHStmt): TSqlSmallInt {...}{.dynlib: odbclib, importc.}

  Source Edit

    proc SQLFetch(StatementHandle: SqlHStmt): TSqlSmallInt {...}{.dynlib: odbclib, importc.}

  Source Edit

    proc SQLNumResultCols(StatementHandle: SqlHStmt; ColumnCount: var TSqlSmallInt): TSqlSmallInt {...}{.
        dynlib: odbclib, importc.}

  Source Edit

    proc SQLDescribeCol(StatementHandle: SqlHStmt; ColumnNumber: SqlUSmallInt;
                       ColumnName: PSQLCHAR; BufferLength: TSqlSmallInt;
                       NameLength: var TSqlSmallInt; DataType: var TSqlSmallInt;
                       ColumnSize: var SqlUInteger; DecimalDigits: var TSqlSmallInt;
                       Nullable: var TSqlSmallInt): TSqlSmallInt {...}{.dynlib: odbclib,
        importc.}

  Source Edit

    proc SQLFetchScroll(StatementHandle: SqlHStmt; FetchOrientation: TSqlSmallInt;
                       FetchOffset: TSqlInteger): TSqlSmallInt {...}{.dynlib: odbclib, importc.}

  Source Edit

    proc SQLExtendedFetch(hstmt: SqlHStmt; fFetchType: SqlUSmallInt; irow: TSqlInteger;
                         pcrow: PSQLUINTEGER; rgfRowStatus: PSQLUSMALLINT): TSqlSmallInt {...}{.
        dynlib: odbclib, importc.}

  Source Edit

    proc SQLGetData(StatementHandle: SqlHStmt; ColumnNumber: SqlUSmallInt;
                   TargetType: TSqlSmallInt; TargetValue: SqlPointer;
                   BufferLength: TSqlInteger; StrLen_or_Ind: PSQLINTEGER): TSqlSmallInt {...}{.
        dynlib: odbclib, importc.}

  Source Edit

    proc SQLSetStmtAttr(StatementHandle: SqlHStmt; Attribute: TSqlInteger;
                       Value: SqlPointer; StringLength: TSqlInteger): TSqlSmallInt {...}{.
        dynlib: odbclib, importc.}

  Source Edit

    proc SQLGetStmtAttr(StatementHandle: SqlHStmt; Attribute: TSqlInteger;
                       Value: SqlPointer; BufferLength: TSqlInteger;
                       StringLength: PSQLINTEGER): TSqlSmallInt {...}{.dynlib: odbclib,
        importc.}

  Source Edit

    proc SQLGetInfo(ConnectionHandle: SqlHDBC; InfoType: SqlUSmallInt;
                   InfoValue: SqlPointer; BufferLength: TSqlSmallInt;
                   StringLength: PSQLSMALLINT): TSqlSmallInt {...}{.dynlib: odbclib, importc.}

  Source Edit

    proc SQLBulkOperations(StatementHandle: SqlHStmt; Operation: TSqlSmallInt): TSqlSmallInt {...}{.
        dynlib: odbclib, importc.}

  Source Edit

    proc SQLPutData(StatementHandle: SqlHStmt; Data: SqlPointer;
                   StrLen_or_Ind: TSqlInteger): TSqlSmallInt {...}{.dynlib: odbclib, importc.}

  Source Edit

    proc SQLBindCol(StatementHandle: SqlHStmt; ColumnNumber: SqlUSmallInt;
                   TargetType: TSqlSmallInt; TargetValue: SqlPointer;
                   BufferLength: TSqlInteger; StrLen_or_Ind: PSQLINTEGER): TSqlSmallInt {...}{.
        dynlib: odbclib, importc.}

  Source Edit

    proc SQLSetPos(hstmt: SqlHStmt; irow: SqlUSmallInt; fOption: SqlUSmallInt;
                  fLock: SqlUSmallInt): TSqlSmallInt {...}{.dynlib: odbclib, importc.}

  Source Edit

    proc SQLDataSources(EnvironmentHandle: SqlHEnv; Direction: SqlUSmallInt;
                       ServerName: PSQLCHAR; BufferLength1: TSqlSmallInt;
                       NameLength1: PSQLSMALLINT; Description: PSQLCHAR;
                       BufferLength2: TSqlSmallInt; NameLength2: PSQLSMALLINT): TSqlSmallInt {...}{.
        dynlib: odbclib, importc.}

  Source Edit

    proc SQLDrivers(EnvironmentHandle: SqlHEnv; Direction: SqlUSmallInt;
                   DriverDescription: PSQLCHAR; BufferLength1: TSqlSmallInt;
                   DescriptionLength1: PSQLSMALLINT; DriverAttributes: PSQLCHAR;
                   BufferLength2: TSqlSmallInt; AttributesLength2: PSQLSMALLINT): TSqlSmallInt {...}{.
        dynlib: odbclib, importc.}

  Source Edit

    proc SQLSetConnectAttr(ConnectionHandle: SqlHDBC; Attribute: TSqlInteger;
                          Value: SqlPointer; StringLength: TSqlInteger): TSqlSmallInt {...}{.
        dynlib: odbclib, importc.}

  Source Edit

    proc SQLGetCursorName(StatementHandle: SqlHStmt; CursorName: PSQLCHAR;
                         BufferLength: TSqlSmallInt; NameLength: PSQLSMALLINT): TSqlSmallInt {...}{.
        dynlib: odbclib, importc.}

  Source Edit

    proc SQLSetCursorName(StatementHandle: SqlHStmt; CursorName: PSQLCHAR;
                         NameLength: TSqlSmallInt): TSqlSmallInt {...}{.dynlib: odbclib,
        importc.}

  Source Edit

    proc SQLRowCount(StatementHandle: SqlHStmt; RowCount: var TSqlInteger): TSqlSmallInt {...}{.
        dynlib: odbclib, importc.}

  Source Edit

    proc SQLBindParameter(hstmt: SqlHStmt; ipar: SqlUSmallInt; fParamType: TSqlSmallInt;
                         fCType: TSqlSmallInt; fSqlType: TSqlSmallInt;
                         cbColDef: SqlUInteger; ibScale: TSqlSmallInt;
                         rgbValue: SqlPointer; cbValueMax: TSqlInteger;
                         pcbValue: PSQLINTEGER): TSqlSmallInt {...}{.dynlib: odbclib, importc.}

  Source Edit

    proc SQLFreeStmt(StatementHandle: SqlHStmt; Option: SqlUSmallInt): TSqlSmallInt {...}{.
        dynlib: odbclib, importc.}

  Source Edit

    proc SQLColAttribute(StatementHandle: SqlHStmt; ColumnNumber: SqlUSmallInt;
                        FieldIdentifier: SqlUSmallInt; CharacterAttribute: PSQLCHAR;
                        BufferLength: TSqlSmallInt; StringLength: PSQLSMALLINT;
                        NumericAttribute: SqlPointer): TSqlSmallInt {...}{.dynlib: odbclib,
        importc.}

  Source Edit

    proc SQLEndTran(HandleType: TSqlSmallInt; Handle: SqlHandle;
                   CompletionType: TSqlSmallInt): TSqlSmallInt {...}{.dynlib: odbclib, importc.}

  Source Edit

    proc SQLTables(hstmt: SqlHStmt; szTableQualifier: PSQLCHAR;
                  cbTableQualifier: TSqlSmallInt; szTableOwner: PSQLCHAR;
                  cbTableOwner: TSqlSmallInt; szTableName: PSQLCHAR;
                  cbTableName: TSqlSmallInt; szTableType: PSQLCHAR;
                  cbTableType: TSqlSmallInt): TSqlSmallInt {...}{.dynlib: odbclib, importc.}

  Source Edit

    proc SQLColumns(hstmt: SqlHStmt; szTableQualifier: PSQLCHAR;
                   cbTableQualifier: TSqlSmallInt; szTableOwner: PSQLCHAR;
                   cbTableOwner: TSqlSmallInt; szTableName: PSQLCHAR;
                   cbTableName: TSqlSmallInt; szColumnName: PSQLCHAR;
                   cbColumnName: TSqlSmallInt): TSqlSmallInt {...}{.dynlib: odbclib, importc.}

  Source Edit

    proc SQLSpecialColumns(StatementHandle: SqlHStmt; IdentifierType: SqlUSmallInt;
                          CatalogName: PSQLCHAR; NameLength1: TSqlSmallInt;
                          SchemaName: PSQLCHAR; NameLength2: TSqlSmallInt;
                          TableName: PSQLCHAR; NameLength3: TSqlSmallInt;
                          Scope: SqlUSmallInt; Nullable: SqlUSmallInt): TSqlSmallInt {...}{.
        dynlib: odbclib, importc.}

  Source Edit

    proc SQLProcedures(hstmt: SqlHStmt; szTableQualifier: PSQLCHAR;
                      cbTableQualifier: TSqlSmallInt; szTableOwner: PSQLCHAR;
                      cbTableOwner: TSqlSmallInt; szTableName: PSQLCHAR;
                      cbTableName: TSqlSmallInt): TSqlSmallInt {...}{.dynlib: odbclib, importc.}

  Source Edit

    proc SQLPrimaryKeys(hstmt: SqlHStmt; CatalogName: PSQLCHAR;
                       NameLength1: TSqlSmallInt; SchemaName: PSQLCHAR;
                       NameLength2: TSqlSmallInt; TableName: PSQLCHAR;
                       NameLength3: TSqlSmallInt): TSqlSmallInt {...}{.dynlib: odbclib,
        importc.}

  Source Edit

    proc SQLProcedureColumns(hstmt: SqlHStmt; CatalogName: PSQLCHAR;
                            NameLength1: TSqlSmallInt; SchemaName: PSQLCHAR;
                            NameLength2: TSqlSmallInt; ProcName: PSQLCHAR;
                            NameLength3: TSqlSmallInt; ColumnName: PSQLCHAR;
                            NameLength4: TSqlSmallInt): TSqlSmallInt {...}{.dynlib: odbclib,
        importc.}

  Source Edit

    proc SQLStatistics(hstmt: SqlHStmt; CatalogName: PSQLCHAR; NameLength1: TSqlSmallInt;
                      SchemaName: PSQLCHAR; NameLength2: TSqlSmallInt;
                      TableName: PSQLCHAR; NameLength3: TSqlSmallInt;
                      Unique: SqlUSmallInt; Reserved: SqlUSmallInt): TSqlSmallInt {...}{.
        dynlib: odbclib, importc.}

  Source Edit

    proc SQLErr(henv: SqlHEnv; hdbc: SqlHDBC; hstmt: SqlHStmt;
               szSqlState, pfNativeError, szErrorMsg: PSQLCHAR;
               cbErrorMsgMax: TSqlSmallInt; pcbErrorMsg: PSQLSMALLINT): TSqlSmallInt {...}{.
        dynlib: odbclib, importc: "SQLError".}

  Source Edit