以下常數由這個擴充套件定義,並且只有在擴充套件已編譯到 PHP 中或在執行時動態載入時才會可用。
ODBC_TYPE (字串)ODBC_BINMODE_PASSTHRU (整數)ODBC_BINMODE_RETURN (整數)ODBC_BINMODE_CONVERT (整數 (int))SQL_ODBC_CURSORS (整數 (int))SQL_CUR_USE_DRIVER (整數 (int))SQL_CUR_USE_IF_NEEDED (整數 (int))SQL_CUR_USE_ODBC (整數 (int))SQL_CONCURRENCY (整數 (int))SQL_CONCUR_READ_ONLY (整數 (int))SQL_CONCUR_LOCK (整數 (int))SQL_CONCUR_ROWVER (整數 (int))SQL_CONCUR_VALUES (整數 (int))SQL_CURSOR_TYPE (整數 (int))SQL_CURSOR_FORWARD_ONLY (整數 (int))SQL_CURSOR_KEYSET_DRIVEN (整數 (int))SQL_CURSOR_DYNAMIC (整數 (int))SQL_CURSOR_STATIC (整數 (int))SQL_KEYSET_SIZE (整數 (int))SQL_CHAR (整數 (int))SQL_VARCHAR (整數 (int))SQL_LONGVARCHAR (整數 (int))SQL_WCHAR (整數 (int))SQL_WVARCHAR (整數 (int))SQL_WLONGVARCHAR (整數 (int))SQL_DECIMAL (整數 (int))SQL_NUMERIC (整數 (int))SQL_BIT (整數 (int))SQL_TINYINT (整數 (int))SQL_SMALLINT (整數 (int))SQL_INTEGER (整數 (int))SQL_BIGINT (整數 (int))SQL_REAL (整數 (int))SQL_FLOAT (整數 (int))SQL_DOUBLE (整數 (int))SQL_BINARY (整數 (int))SQL_VARBINARY (整數 (int))SQL_LONGVARBINARY (整數 (int))SQL_DATE (整數 (int))SQL_TIME (整數 (int))SQL_TIMESTAMP (整數 (int))SQL_TYPE_DATE (整數 (int))SQL_TYPE_TIME (整數 (int))SQL_TYPE_TIMESTAMP (整數 (int))SQL_BEST_ROWID (整數 (int))SQL_ROWVER (整數 (int))SQL_SCOPE_CURROW (整數 (int))SQL_SCOPE_TRANSACTION (整數 (int))SQL_SCOPE_SESSION (整數 (int))SQL_NO_NULLS (整數 (int))SQL_NULLABLE (整數 (int))SQL_INDEX_UNIQUE (整數 (int))SQL_INDEX_ALL (整數 (int))SQL_ENSURE (整數 (int))SQL_QUICK (整數 (int))SQL_FETCH_FIRST (整數 (int))SQL_FETCH_NEXT (整數 (int))