以下常量由此扩展定义,只有在将扩展编译到PHP中或在运行时动态加载时才可用。
ODBC_TYPE
(字符串)ODBC_BINMODE_PASSTHRU
(整数)ODBC_BINMODE_RETURN
(整数)ODBC_BINMODE_CONVERT
(整数)SQL_ODBC_CURSORS
(整数)SQL_CUR_USE_DRIVER
(整数)SQL_CUR_USE_IF_NEEDED
(整数)SQL_CUR_USE_ODBC
(整数)SQL_CONCURRENCY
(整数)SQL_CONCUR_READ_ONLY
(整数)SQL_CONCUR_LOCK
(整数)SQL_CONCUR_ROWVER
(整数)SQL_CONCUR_VALUES
(整数)SQL_CURSOR_TYPE
(整数)SQL_CURSOR_FORWARD_ONLY
(整数)SQL_CURSOR_KEYSET_DRIVEN
(整数)SQL_CURSOR_DYNAMIC
(整数)SQL_CURSOR_STATIC
(整数)SQL_KEYSET_SIZE
(整数)SQL_CHAR
(整数)SQL_VARCHAR
(整数)SQL_LONGVARCHAR
(整数)SQL_WCHAR
(整数)SQL_WVARCHAR
(整数)SQL_WLONGVARCHAR
(整数)SQL_DECIMAL
(整数)SQL_NUMERIC
(整数)SQL_BIT
(整数)SQL_TINYINT
(整数)SQL_SMALLINT
(整数)SQL_INTEGER
(整数)SQL_BIGINT
(整数)SQL_REAL
(整数)SQL_FLOAT
(整数)SQL_DOUBLE
(整数)SQL_BINARY
(整数)SQL_VARBINARY
(整数)SQL_LONGVARBINARY
(整数)SQL_DATE
(整数)SQL_TIME
(整数)SQL_TIMESTAMP
(整数)SQL_TYPE_DATE
(整数)SQL_TYPE_TIME
(整数)SQL_TYPE_TIMESTAMP
(整数)SQL_BEST_ROWID
(整数)SQL_ROWVER
(整数)SQL_SCOPE_CURROW
(整数)SQL_SCOPE_TRANSACTION
(整数)SQL_SCOPE_SESSION
(整数)SQL_NO_NULLS
(整数)SQL_NULLABLE
(整数)SQL_INDEX_UNIQUE
(整数)SQL_INDEX_ALL
(整数)SQL_ENSURE
(整数)SQL_QUICK
(整数)SQL_FETCH_FIRST
(整数)SQL_FETCH_NEXT
(整数)