📄 odbccst.hpp
字号:
// CodeGear C++ Builder
// Copyright (c) 1995, 2007 by CodeGear
// All rights reserved
// (DO NOT EDIT: machine generated header) 'Odbccst.pas' rev: 11.00
#ifndef OdbccstHPP
#define OdbccstHPP
#pragma delphiheader begin
#pragma option push
#pragma option -w- // All warnings off
#pragma option -Vx // Zero-length empty class member functions
#pragma pack(push,8)
#include <System.hpp> // Pascal unit
#include <Sysinit.hpp> // Pascal unit
//-- user supplied -----------------------------------------------------------
namespace Odbccst
{
//-- type declarations -------------------------------------------------------
//-- var, const, procedure ---------------------------------------------------
static const Shortint SQL_ERROR = -1;
static const Shortint SQL_SUCCESS = 0x0;
static const Shortint SQL_SUCCESS_WITH_INFO = 0x1;
static const Shortint SQL_NTS = -3;
static const Shortint SQL_NULL_HSTMT = 0x0;
static const Shortint SQL_CLOSE = 0x0;
static const Shortint SQL_COMMIT = 0x0;
static const Shortint SQL_DROP = 0x1;
static const Shortint SQL_UNBIND = 0x2;
static const Shortint SQL_RESET_PARAMS = 0x3;
static const Shortint SQL_NEED_DATA = 0x63;
static const Shortint SQL_PARAM_TYPE_UNKNOWN = 0x0;
static const Shortint SQL_PARAM_INPUT = 0x1;
static const Shortint SQL_PARAM_INPUT_OUTPUT = 0x2;
static const Shortint SQL_RESULT_COL = 0x3;
static const Shortint SQL_CHAR = 0x1;
static const Shortint SQL_NUMERIC = 0x2;
static const Shortint SQL_DECIMAL = 0x3;
static const Shortint SQL_INTEGER = 0x4;
static const Shortint SQL_SMALLINT = 0x5;
static const Shortint SQL_FLOAT = 0x6;
static const Shortint SQL_REAL = 0x7;
static const Shortint SQL_DOUBLE = 0x8;
static const Shortint SQL_VARCHAR = 0xc;
static const Shortint SQL_DATE = 0x9;
static const Shortint SQL_TIME = 0xa;
static const Shortint SQL_TIMESTAMP = 0xb;
static const Shortint SQL_LONGVARCHAR = -1;
static const Shortint SQL_BINARY = -2;
static const Shortint SQL_VARBINARY = -3;
static const Shortint SQL_LONGVARBINARY = -4;
static const Shortint SQL_BIGINT = -5;
static const Shortint SQL_TINYINT = -6;
static const Shortint SQL_BIT = -7;
static const Shortint SQL_INFO_FIRST = 0x0;
static const Shortint SQL_ACTIVE_CONNECTIONS = 0x0;
static const Shortint SQL_ACTIVE_STATEMENTS = 0x1;
static const Shortint SQL_DATA_SOURCE_NAME = 0x2;
static const Shortint SQL_DRIVER_HDBC = 0x3;
static const Shortint SQL_DRIVER_HENV = 0x4;
static const Shortint SQL_DRIVER_HSTMT = 0x5;
static const Shortint SQL_DRIVER_NAME = 0x6;
static const Shortint SQL_DRIVER_VER = 0x7;
static const Shortint SQL_FETCH_DIRECTION = 0x8;
static const Shortint SQL_ODBC_CONFORMANCE = 0x9;
static const Shortint SQL_ODBC_VER = 0xa;
static const Shortint SQL_ROW_UPDATES = 0xb;
static const Shortint SQL_SAG_CLI_CONFORMANCE = 0xc;
static const Shortint SQL_SERVER_NAME = 0xd;
static const Shortint SQL_SEARCH_PATTERN_ESCAPE = 0xe;
static const Shortint SQL_SYNTAX_COMPATIBILITY = 0xf;
static const Shortint SQL_DATABASE_NAME = 0x10;
static const Shortint SQL_DBMS_NAME = 0x11;
static const Shortint SQL_DBMS_VER = 0x12;
static const Shortint SQL_ACCESSIBLE_TABLES = 0x13;
static const Shortint SQL_ACCESSIBLE_PROCEDURES = 0x14;
static const Shortint SQL_COLLATION_SEQ = 0x15;
static const Shortint SQL_CONCAT_NULL_BEHAVIOR = 0x16;
static const Shortint SQL_CURSOR_COMMIT_BEHAVIOR = 0x17;
static const Shortint SQL_CURSOR_ROLLBACK_BEHAVIOR = 0x18;
static const Shortint SQL_DATA_SOURCE_READ_ONLY = 0x19;
static const Shortint SQL_DEFAULT_TXN_ISOLATION = 0x1a;
static const Shortint SQL_EXPRESSIONS_IN_ORDERBY = 0x1b;
static const Shortint SQL_IDENTIFIER_CASE = 0x1c;
static const Shortint SQL_IDENTIFIER_QUOTE_CHAR = 0x1d;
static const Shortint SQL_MAX_COLUMN_NAME_LEN = 0x1e;
static const Shortint SQL_MAX_CURSOR_NAME_LEN = 0x1f;
static const Shortint SQL_MAX_OWNER_NAME_LEN = 0x20;
static const Shortint SQL_MAX_PROCEDURE_NAME_LEN = 0x21;
static const Shortint SQL_MAX_QUALIFIER_NAME_LEN = 0x22;
static const Shortint SQL_MAX_TABLE_NAME_LEN = 0x23;
static const Shortint SQL_MULT_RESULT_SETS = 0x24;
static const Shortint SQL_MULTIPLE_ACTIVE_TXN = 0x25;
static const Shortint SQL_OUTER_JOINS = 0x26;
static const Shortint SQL_OWNER_TERM = 0x27;
static const Shortint SQL_PROCEDURE_TERM = 0x28;
static const Shortint SQL_QUALIFIER_NAME_SEPARATOR = 0x29;
static const Shortint SQL_QUALIFIER_TERM = 0x2a;
static const Shortint SQL_SCROLL_CONCURRENCY = 0x2b;
static const Shortint SQL_SCROLL_OPTIONS = 0x2c;
static const Shortint SQL_TABLE_TERM = 0x2d;
static const Shortint SQL_TXN_CAPABLE = 0x2e;
static const Shortint SQL_USER_NAME = 0x2f;
static const Shortint SQL_CONVERT_FUNCTIONS = 0x30;
static const Shortint SQL_NUMERIC_FUNCTIONS = 0x31;
static const Shortint SQL_STRING_FUNCTIONS = 0x32;
static const Shortint SQL_SYSTEM_FUNCTIONS = 0x33;
static const Shortint SQL_TIMEDATE_FUNCTIONS = 0x34;
static const Shortint SQL_CONVERT_BIGINT = 0x35;
static const Shortint SQL_CONVERT_BINARY = 0x36;
static const Shortint SQL_CONVERT_BIT = 0x37;
static const Shortint SQL_CONVERT_CHAR = 0x38;
static const Shortint SQL_CONVERT_DATE = 0x39;
static const Shortint SQL_CONVERT_DECIMAL = 0x3a;
static const Shortint SQL_CONVERT_DOUBLE = 0x3b;
static const Shortint SQL_CONVERT_FLOAT = 0x3c;
static const Shortint SQL_CONVERT_INTEGER = 0x3d;
static const Shortint SQL_CONVERT_LONGVARCHAR = 0x3e;
static const Shortint SQL_CONVERT_NUMERIC = 0x3f;
static const Shortint SQL_CONVERT_REAL = 0x40;
static const Shortint SQL_CONVERT_SMALLINT = 0x41;
static const Shortint SQL_CONVERT_TIME = 0x42;
static const Shortint SQL_CONVERT_TIMESTAMP = 0x43;
static const Shortint SQL_CONVERT_TINYINT = 0x44;
static const Shortint SQL_CONVERT_VARBINARY = 0x45;
static const Shortint SQL_CONVERT_VARCHAR = 0x46;
static const Shortint SQL_CONVERT_LONGVARBINARY = 0x47;
static const Shortint SQL_TXN_ISOLATION_OPTION = 0x48;
static const Shortint SQL_INFO_LAST = 0x48;
static const Word SQL_INFO_DRIVER_START = 0x3e8;
static const Shortint SQL_DRIVER_HLIB = 0x4c;
static const Shortint SQL_DRIVER_ODBC_VER = 0x4d;
static const Shortint SQL_LOCK_TYPES = 0x4e;
static const Shortint SQL_POS_OPERATIONS = 0x4f;
static const Shortint SQL_POSITIONED_STATEMENTS = 0x50;
static const Shortint SQL_GETDATA_EXTENSIONS = 0x51;
static const Shortint SQL_BOOKMARK_PERSISTENCE = 0x52;
static const Shortint SQL_STATIC_SENSITIVITY = 0x53;
static const Shortint SQL_FILE_USAGE = 0x54;
static const Shortint SQL_NULL_COLLATION = 0x55;
static const Shortint SQL_ALTER_TABLE = 0x56;
static const Shortint SQL_COLUMN_ALIAS = 0x57;
static const Shortint SQL_GROUP_BY = 0x58;
static const Shortint SQL_KEYWORDS = 0x59;
static const Shortint SQL_ORDER_BY_COLUMNS_IN_SELECT = 0x5a;
static const Shortint SQL_OWNER_USAGE = 0x5b;
static const Shortint SQL_QUALIFIER_USAGE = 0x5c;
static const Shortint SQL_QUOTED_IDENTIFIER_CASE = 0x5d;
static const Shortint SQL_SPECIAL_CHARACTERS = 0x5e;
static const Shortint SQL_SUBQUERIES = 0x5f;
static const Shortint SQL_UNION = 0x60;
static const Shortint SQL_MAX_COLUMNS_IN_GROUP_BY = 0x61;
static const Shortint SQL_MAX_COLUMNS_IN_INDEX = 0x62;
static const Shortint SQL_MAX_COLUMNS_IN_ORDER_BY = 0x63;
static const Shortint SQL_MAX_COLUMNS_IN_SELECT = 0x64;
static const Shortint SQL_MAX_COLUMNS_IN_TABLE = 0x65;
static const Shortint SQL_MAX_INDEX_SIZE = 0x66;
static const Shortint SQL_MAX_ROW_SIZE_INCLUDES_LONG = 0x67;
static const Shortint SQL_MAX_ROW_SIZE = 0x68;
static const Shortint SQL_MAX_STATEMENT_LEN = 0x69;
static const Shortint SQL_MAX_TABLES_IN_SELECT = 0x6a;
static const Shortint SQL_C_CHAR = 0x1;
static const Shortint SQL_C_LONG = 0x4;
static const Shortint SQL_C_SHORT = 0x5;
static const Shortint SQL_C_FLOAT = 0x7;
static const Shortint SQL_C_DOUBLE = 0x8;
static const Shortint SQL_C_DATE = 0x9;
static const Shortint SQL_FETCH_NEXT = 0x1;
static const Shortint SQL_FETCH_FIRST = 0x2;
static const Shortint SQL_FETCH_LAST = 0x3;
static const Shortint SQL_FETCH_PRIOR = 0x4;
static const Shortint SQL_FETCH_ABSOLUTE = 0x5;
static const Shortint SQL_FETCH_RELATIVE = 0x6;
static const Shortint SQL_FETCH_BOOKMARK = 0x8;
static const Shortint SQL_DRIVER_NOPROMPT = 0x0;
static const Shortint SQL_DRIVER_COMPLETE = 0x1;
static const Shortint SQL_DRIVER_PROMPT = 0x2;
static const Shortint SQL_DRIVER_COMPLETE_REQUIRED = 0x3;
static const Shortint SQL_FILE_NOT_SUPPORTED = 0x0;
static const Shortint SQL_FILE_TABLE = 0x1;
static const Shortint SQL_FILE_QUALIFIER = 0x2;
static const Shortint ODBC_ADD_DSN = 0x1;
static const Shortint ODBC_CONFIG_DSN = 0x2;
static const Shortint ODBC_REMOVE_DSN = 0x3;
static const Shortint SQL_ACCESS_MODE = 0x65;
static const Shortint SQL_AUTOCOMMIT = 0x66;
static const Shortint SQL_LOGIN_TIMEOUT = 0x67;
static const Shortint SQL_OPT_TRACE = 0x68;
static const Shortint SQL_OPT_TRACEFILE = 0x69;
static const Shortint SQL_TRANSLATE_DLL = 0x6a;
static const Shortint SQL_TRANSLATE_OPTION = 0x6b;
static const Shortint SQL_TXN_ISOLATION = 0x6c;
static const Shortint SQL_CURRENT_QUALIFIER = 0x6d;
static const Shortint SQL_ODBC_CURSORS = 0x6e;
static const Shortint SQL_QUIET_MODE = 0x6f;
static const Shortint SQL_PACKET_SIZE = 0x70;
static const Shortint SQL_CONN_OPT_MAX = 0x70;
static const Word SQL_CONNECT_OPT_DRVR_START = 0x3e8;
static const Shortint SQL_CONN_OPT_MIN = 0x65;
static const Shortint SQL_MODE_READ_WRITE = 0x0;
static const Shortint SQL_MODE_READ_ONLY = 0x1;
static const Shortint SQL_MODE_DEFAULT = 0x0;
#define SQL_OK (Set<Byte, 0, 255> () << 0x0 << 0x1 )
static const Word SQL_COMMAND_SIZE = 0x3ff;
static const Byte SQL_DATA_SIZE = 0xff;
static const Byte SQL_MAX_COLUMNS = 0xff;
static const Shortint SQL_POSITION = 0x0;
static const Shortint SQL_REFRESH = 0x1;
static const Shortint SQL_UPDATE = 0x2;
static const Shortint SQL_DELETE = 0x3;
static const Shortint SQL_ADD = 0x4;
static const Shortint SQL_LOCK_NO_CHANGE = 0x0;
static const Shortint SQL_LOCK_EXCLUSIVE = 0x1;
static const Shortint SQL_LOCK_UNLOCK = 0x2;
static const Shortint SQL_QUERY_TIMEOUT = 0x0;
static const Shortint SQL_MAX_ROWS = 0x1;
static const Shortint SQL_NOSCAN = 0x2;
static const Shortint SQL_MAX_LENGTH = 0x3;
static const Shortint SQL_ASYNC_ENABLE = 0x4;
static const Shortint SQL_BIND_TYPE = 0x5;
static const Shortint SQL_CURSOR_TYPE = 0x6;
static const Shortint SQL_CONCURRENCY = 0x7;
static const Shortint SQL_KEYSET_SIZE = 0x8;
static const Shortint SQL_ROWSET_SIZE = 0x9;
static const Shortint SQL_SIMULATE_CURSOR = 0xa;
static const Shortint SQL_RETRIEVE_DATA = 0xb;
static const Shortint SQL_USE_BOOKMARKS = 0xc;
static const Shortint SQL_GET_BOOKMARK = 0xd;
static const Shortint SQL_ROW_NUMBER = 0xe;
static const Shortint SQL_CONCUR_READ_ONLY = 0x1;
static const Shortint SQL_CONCUR_LOCK = 0x2;
static const Shortint SQL_CONCUR_ROWVER = 0x3;
static const Shortint SQL_CONCUR_VALUES = 0x4;
static const Shortint SQL_CONCUR_DEFAULT = 0x1;
static const Shortint SQL_CURSOR_FORWARD_ONLY = 0x0;
static const Shortint SQL_CURSOR_KEYSET_DRIVEN = 0x1;
static const Shortint SQL_CURSOR_DYNAMIC = 0x2;
static const Shortint SQL_CURSOR_STATIC = 0x3;
static const Shortint SQL_CURSOR_TYPE_DEFAULT = 0x0;
static const Shortint SQL_COLUMN_COUNT = 0x0;
static const Shortint SQL_COLUMN_NAME = 0x1;
static const Shortint SQL_COLUMN_TYPE = 0x2;
static const Shortint SQL_COLUMN_LENGTH = 0x3;
static const Shortint SQL_COLUMN_PRECISION = 0x4;
static const Shortint SQL_COLUMN_SCALE = 0x5;
static const Shortint SQL_COLUMN_DISPLAY_SIZE = 0x6;
static const Shortint SQL_COLUMN_NULLABLE = 0x7;
static const Shortint SQL_COLUMN_UNSIGNED = 0x8;
static const Shortint SQL_COLUMN_MONEY = 0x9;
static const Shortint SQL_COLUMN_UPDATABLE = 0xa;
static const Shortint SQL_COLUMN_AUTO_INCREMENT = 0xb;
static const Shortint SQL_COLUMN_CASE_SENSITIVE = 0xc;
static const Shortint SQL_COLUMN_SEARCHABLE = 0xd;
static const Shortint SQL_COLUMN_TYPE_NAME = 0xe;
static const Shortint SQL_COLUMN_TABLE_NAME = 0xf;
static const Shortint SQL_COLUMN_OWNER_NAME = 0x10;
static const Shortint SQL_COLUMN_QUALIFIER_NAME = 0x11;
static const Shortint SQL_COLUMN_LABEL = 0x12;
static const Shortint SQL_COLATT_OPT_MAX = 0x12;
static const Shortint SQL_ATTR_READONLY = 0x0;
static const Shortint SQL_ATTR_WRITE = 0x1;
static const Shortint SQL_ATTR_READWRITE_UNKNOWN = 0x2;
static const Word SQL_MAX_MESSAGE_LENGTH = 0x200;
static const Shortint SQL_INDEX_ALL = 0x1;
static const Shortint SQL_ENSURE = 0x1;
} /* namespace Odbccst */
using namespace Odbccst;
#pragma pack(pop)
#pragma option pop
#pragma delphiheader end.
//-- end unit ----------------------------------------------------------------
#endif // Odbccst
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -