APPX Software Library

Chapter 3: ODBC Driver Conformance

3.2 Responses to SQLGetInfo

Applications call the SQLGetInfo function to retrieve details about support a specific driver and data source provide for different ODBC functionality.

Applications supply the InfoType argument to SQLGetInfo to specify what information type they seek. SQLGetInfo returns the information to the InfoValuePtr output argument. Table 3–1 lists each InfoType argument the ODBC Driver recognizes along with the associated value returned to SQLGetInfo. Shaded rows indicate information types renamed or deprecated for ODBC 3.0.

For more detail about the SQLGetInfo function see the Microsoft ODBC Programmer’s Reference.

Table 3–1. Information the ODBC Driver Returns to SQLGetInfo
DescriptionInfoType ArgumentReturns
Shaded rows indicate information types renamed or deprecated for ODBC 3.0
Guaranteed execute privileges on all procedures returned by SQLProceduresSQL_ACCESSIBLE_PROCEDURESY (guaranteed)
Guaranteed read access to all table names returned by SQLTablesSQL_ACCESSIBLE_TABLESN (not guaranteed)
Maximum number of active connectionsSQL_ACTIVE_CONNECTIONS (Renamed for ODBC 3.0.)See SQL_MAX_DRIVER_CONNECTIONS
Maximum number of active environmentsSQL_ACTIVE_ENVIRONMENTS (ODBC 3.0)0 (no limit)
Maximum number of active SQL statementsSQL_ACTIVE_STATEMENTS (Renamed for ODBC 3.0.)See SQL_MAX_CONCURRENT_ACTIVITIES
Aggregate function supportSQL_AGGREGATE_FUNCTIONS (ODBC 3.0)SQL_AF_ALL | SQL_AF_AVG | SQL_AF_COUNT | SQL_AF_DISTINCT | SQL_AF_MAX | SQL_AF_MIN | SQL_AF_SUM
Support for ALTER DOMAIN statementSQL_ALTER_DOMAIN (ODBC 3.0)0 (does not support)
Support for ALTER SCHEMA statementSQL_ALTER_SCHEMA (ODBC 3.0)0 (does not support)
Support for ALTER TABLE clausesSQL_ALTER_TABLESQL_AT_ADD_COLUMN (supports adding columns)
Level of asynchronous mode supportSQL_ASYNC_MODE (ODBC 3.0)SQL_AM_NONE (not supported)
Behavior with respect to the availability of row counts in batchesSQL_BATCH_ROW_COUNT (ODBC 3.0)0 (does not support)
Support for batchesSQL_BATCH_SUPPORT (ODBC 3.0)SQL_BS_ROW_COUNT_EXPLICIT (supports explicit batches with row-count generating statements)
Support for bookmarksSQL_BOOKMARK_PERSISTENCE0 (does not support)
Position of qualifier in a qualified table nameSQL_CATALOG_LOCATION (Renamed for ODBC 3.0. Was SQL_QUALIFIER_LOCATION)SQL_QL_START (at the start of the name)
Support for catalog namesSQL_CATALOG_NAME (ODBC 3.0)N (does not support)
Character used to separate table, column qualifiersSQL_CATALOG_NAME_SEPARATOR (Renamed for ODBC 3.0. Was SQL_QUALIFIER_NAME_SEPARATOR). (period)
Name for a catalogSQL_CATALOG_TERM (Renamed for ODBC 3.0. Was SQL_QUALIFIER_TERM)"" (does not support)
Statements that support catalog namesSQL_CATALOG_USAGE (Renamed for ODBC 3.0. Was SQL_QUALIFIER_USAGE)0 (does not support)
Default collation sequence name for the default character setSQL_COLLATION_SEQ (ODBC 3.0)“ ” (unknown)
Support for column aliasesSQL_COLUMN_ALIASY (supports)
Result of concatenation of NULL character column with non-NULL columnSQL_CONCAT_NULL_BEHAVIORSQL_CB_NULL (result is null)
Conversion from BIGINTSQL_CONVERT_BIGINTSQL_CVT_CHAR| SQL_CVT_NUMERIC| SQL_CVT_TINYINT| SQL_CVT_SMALLINT| SQL_CVT_INTEGER| SQL_CVT_FLOAT| SQL_CVT_DOUBLE| SQL_CVT_BIT
Conversion from BINARYSQL_CONVERT_BINARYSQL_CVT_CHAR | SQL_CVT_BINARY
Conversion from BITSQL_CONVERT_BITSQL_CVT_CHAR | SQL_CVT_NUMERIC | SQL_CVT_BIT | SQL_CVT_TINYINT | SQL_CVT_SMALLINT | SQL_CVT_BIGINT | SQL_CVT_INTEGER | SQL_CVT_FLOAT | SQL_CVT_REAL
Conversion from CHARSQL_CONVERT_CHARSQL_CVT_BIT | SQL_CVT_BINARY | SQL_CVT_NUMERIC | SQL_CVT_TINYINT | SQL_CVT_SMALLINT | SQL_CVT_BIGINT | SQL_CVT_DATE | SQL_CVT_FLOAT | SQL_CVT_TIME | SQL_CVT_TIMESTAMP | SQL_CVT_CHAR
Conversion from DATESQL_CONVERT_DATESQL_CVT_CHAR | SQL_CVT_DATE | SQL_CVT_TIMESTAMP
Conversion from DECIMALSQL_CONVERT_DECIMAL0 (does not support)
Conversion from DOUBLESQL_CONVERT_DOUBLE0 (does not support)
Conversion from FLOATSQL_CONVERT_FLOATSQL_CVT_CHAR | SQL_CVT_NUMERIC | SQL_CVT_BIT | SQL_CVT_TINYINT | SQL_CVT_SMALLINT | SQL_CVT_BIGINT | SQL_CVT_INTEGER | SQL_CVT_FLOAT | SQL_CVT_REAL
Support for conversion functionsSQL_CONVERT_FUNCTIONSSQL_FN_CVT_CONVERT (supports)
Conversion from INTEGERSQL_CONVERT_INTEGERSQL_CVT_CHAR | SQL_CVT_NUMERIC | SQL_CVT_BIT | SQL_CVT_TINYINT | SQL_CVT_SMALLINT | SQL_CVT_BIGINT | SQL_CVT_INTEGER | SQL_CVT_FLOAT | SQL_CVT_REAL
Conversion from INTERVAL_DAY_TIMESQL_CONVERT_INTERVAL_DAY_TIME (ODBC 3.0)0 (does not support)
Conversion from INTERVAL_YEAR_MONTHSQL_CONVERT_INTERVAL_YEAR_MONTH (ODBC 3.0)0 (does not support)
Conversion from LONGVARBINARYSQL_CONVERT_LONGVARBINARY0 (does not support)
Conversion from LONGVARCHARSQL_CONVERT_LONGVARCHAR0 (does not support)
Conversion from NUMERICSQL_CONVERT_NUMERICSQL_CVT_CHAR | SQL_CVT_INTEGER | SQL_CVT_FLOAT | SQL_CVT_REAL | SQL_CVT_BIT | SQL_CVT_TINYINT | SQL_CVT_SMALLINT | SQL_CVT_BIGINT
Conversion from REALSQL_CONVERT_REALSQL_CVT_CHAR | SQL_CVT_NUMERIC | SQL_CVT_BIT | SQL_CVT_TINYINT | SQL_CVT_SMALLINT | SQL_CVT_BIGINT | SQL_CVT_INTEGER | SQL_CVT_FLOAT | SQL_CVT_DOUBLE
Conversion from SMALLINTSQL_CONVERT_SMALLINTSQL_CVT_CHAR | SQL_CVT_NUMERIC | SQL_CVT_INTEGER | SQL_CVT_BIGINT | SQL_CVT_FLOAT | SQL_CVT_DOUBLE | SQL_CVT_TINYINT | SQL_CVT_SMALLINT | SQL_CVT_NUMERIC | SQL_CVT_BIT
Conversion from TIMESQL_CONVERT_TIMESQL_CVT_CHAR | SQL_CVT_TIME | SQL_CVT_TIMESTAMP
Conversion from TIMESTAMPSQL_CONVERT_TIMESTAMPSQL_CVT_CHAR | SQL_CVT_DATE
Conversion from TINYINTSQL_CONVERT_TINYINTSQL_CVT_CHAR | SQL_CVT_NUMERIC | SQL_CVT_BIT | SQL_CVT_SMALLINT | SQL_CVT_INTEGER | SQL_CVT_BIGINT | SQL_CVT_FLOAT | SQL_CVT_DOUBLE | SQL_CVT_TINYINT
Conversion from VARBINARYSQL_CONVERT_VARBINARY0 (does not support)
Conversion from VARCHARSQL_CONVERT_VARCHAR0 (does not support)
Support for table correlation namesSQL_CORRELATION_NAMESQL_CN_DIFFERENT (supports, but correlation names must be different from table name)
Support for CREATE ASSERTION statementSQL_CREATE_ASSERTION (ODBC 3.0)0 (does not support)
Support for CREATE CHARACTER SET statementSQL_CREATE_CHARACTER_SET (ODBC 3.0)0 (does not support)
Support for CREATE COLLATION statementSQL_CREATE_COLLATION (ODBC 3.0)0 (does not support)
Support for CREATE DOMAIN statementSQL_CREATE_DOMAIN (ODBC 3.0)0 (does not support)
Support for CREATE SCHEMA statementSQL_CREATE_SCHEMA (ODBC 3.0)0 (does not support)
Support for CREATE TABLE statementSQL_CREATE_TABLE (ODBC 3.0)SQL_CT_CREATE_TABLE | SQL_CT_COMMIT_DELETE | SQL_CT_COLUMN_CONSTRAINT | SQL_CT_TABLE_CONSTRAINT (supports CREATE TABLE, deleted rows are deleted on commit, supports column constraints and table constraints)
Support for CREATE TRANSLATION statementSQL_CREATE_TRANSLATION (ODBC 3.0)0 (does not support)
Support for CREATE VIEW statementSQL_CREATE_VIEW (ODBC 3.0)SQL_CV_CREATE_VIEW | SQL_CV_CHECK_OPTION (supports CREATE VIEW, CHECK OPTION clause)
Effect of COMMIT operation on cursors and prepared statementsSQL_CURSOR_COMMIT_BEHAVIORSQL_CB_CLOSE (closes cursors but statements remain in prepared state)
Effect of ROLLBACK operation on cursors and prepared statementsSQL_CURSOR_ROLLBACK_BEHAVIORSQL_CB_CLOSE (closes cursors but statements remain in prepared state)
Support for cursor sensitivitySQL_CURSOR_SENSITIVITY (ODBC 3.0)SQL_INSENSITIVE (all cursors on the statement handle show the result set without reflecting any changes made to it by any other cursor within the same transaction)
Name of the data source as specified to the ODBC AdministratorSQL_DATA_SOURCE_NAME(string containing the name)
Access limited to read-onlySQL_DATA_SOURCE_READ_ONLYN (read-write access)
Name of the Dharma/SQL data source on the server systemSQL_DATABASE_NAME(string containing the name)
Support for date-time literalsSQL_DATETIME_LITERALS (ODBC 3.0)SQL_DL_SQL92_DATE | SQL_DL_SQL92_TIME | SQL_DL_SQL92_TIMESTAMP
Name of the database product supporting the data sourceSQL_DBMS_NAMEDharma/SQL
Version of the database productSQL_DBMS_VER6.2.1
Support for creation and dropping of indexesSQL_DDL_INDEX (ODBC 3.0)SQL_DI_CREATE_INDEX | SQL_DI_DROP_INDEX (supports)
Default transaction isolation levelSQL_DEFAULT_TXN_ISOLATIONSQL_TXN_SERIALIZABLE
Suppport for describing parameters via DESCRIBE INPUT statementSQL_DESCRIBE_PARAMETER (ODBC 3.0)Y (supports)
Name of the dynamic link library file for the ODBC DriverSQL_DRIVER_NAMEDHODBC.DLL
Supported ODBC versionSQL_DRIVER_ODBC_VER03.00
Current Version of the ODBC DriverSQL_DRIVER_VER06.20.1000
Support for DROP ASSERTION statementSQL_DROP_ASSERTION (ODBC 3.0)0 (does not support)
Support for DROP CHARACTER SET statementSQL_DROP_CHARACTER_SET (ODBC 3.0)0 (does not support)
Support for DROP COLLATION statementSQL_DROP_COLLATION (ODBC 3.0)0 (does not support)
Support for DROP DOMAIN statementSQL_DROP_DOMAIN (ODBC 3.0)0 (does not support)
Support for DROP SCHEMA statementSQL_DROP_SCHEMA (ODBC 3.0)0 (does not support)
Support for DROP TABLE statementSQL_DROP_TABLE (ODBC 3.0)SQL_DT_DROP_TABLE (supports)
Support for DROP TRANSLATION statementSQL_DROP_TRANSLATION (ODBC 3.0)0 (does not support)
Support for DROP VIEW statementSQL_DROP_VIEW (ODBC 3.0)SQL_DT_DROP_VIEW (supports)
Supported attributes of a dynamic cursor: subset 1SQL_DYNAMIC_CURSOR_ATTRIBUTES1 (ODBC 3.0)0 (does not support dynamic cursors)
Supported attributes of a dynamic cursor: subset 2SQL_DYNAMIC_CURSOR_ATTRIBUTES2 (ODBC 3.0)0 (does not support dynamic cursors)
Support for expressions in ORDER BY clauseSQL_EXPRESSIONS_IN_ORDERBYY (supports)
Direction that FETCH operations can supportSQL_FETCH_DIRECTION (Deprecated in ODBC 3.0.)SQL_FD_FETCH_NEXT (fetch next row only)
Single-tier driver behaviorSQL_FILE_USAGESQL_FILE_NOT_SUPPORTED (not a single-tier driver)
Supported attributes of a forward-only cursor: subset 1SQL_FORWARD_ONLY_CURSOR_ATTRIBUTES1 (ODBC 3.0)SQL_CA1_NEXT (supports SQL_FETCH_NEXT argument to SQLFetchScroll for forward-only cursors)
Supported attributes of a forward-only cursor: subset 2SQL_FORWARD_ONLY_CURSOR_ATTRIBUTES2 (ODBC 3.0)SQL_CA2_READ_ONLY_CONCURRENCY
Supported extensions to SQLGetDataSQL_GETDATA_EXTENSIONS0 (does not support)
Relationship between GROUP BY clause and columns in the select listSQL_GROUP_BYSQL_GB_GROUP_BY_CONTAINS_SELECT (GROUP BY clause must contain all non-aggregated columns in select list)
Case-sensitivity of user-supplied namesSQL_IDENTIFIER_CASESQL_IC_LOWER (case insensitive, stored in lower case)
Character used to enclose delimited identifiersSQL_IDENTIFIER_QUOTE_CHAR" (double quotation mark)
Supported views in INFORMATION_SCHEMASQL_INFO_SCHEMA_VIEWS (ODBC 3.0)0 (does not support)
Support for INSERT statementSQL_INSERT_STATEMENT (ODBC 3.0)SQL_IS_INSERT_LITERALS | SQL_IS_INSERT_SEARCHED | SQL_IS_SELECT_INTO
Referential integrity syntax supportSQL_INTEGRITY (Renamed for ODBC 3.0. Was SQL_ODBC_SQL_OPT_IEF)Y (supports referential integrity syntax)
Supported attributes of a keyset cursor: subset 1SQL_KEYSET_CURSOR_ATTRIBUTES1 (ODBC 3.0)0 (does not support keyset cursors)
Supported attributes of a keyset cursor: subset 2SQL_KEYSET_CURSOR_ATTRIBUTES2 (ODBC 3.0)0 (does not support keyset cursors)
Data-source specific keywordsSQL_KEYWORDSabsolute, action, add, all, allocate, and,any, are, as, asc, assertion, at, authorization, alter, avg, atta, begin, between, bit_length, bigint, bitstrig, binary, bit, both, by, cascade, cascaded, call, case, cast, catalog, char, character, char_length, character_length, check, close, cluster, coalesce, collate, collation, column, colroup_kw, colon, comma, commit, compress, concat, connect, connection, constraint, constraint_kw, constraints, continue, convert, corresponding, count, crete, cross, current, current_date, current_time, current_timestamp, current_user, cursor, database, datapages, date, day, deallocate, dec, decimal, declare, default, default_kw, deferrable, deferred, deinition, delete, describe, delete_kw, desc, describe, descriptor, diagnostics, disconnect, distint, div, domain, double, drop, dot, dh_f64_t, dba, end, else, end, end-exec, eqtok, escape, except, exception, exclusiv, exec, execute, exists, external, extract, false, fetch, file_kw, first, float, dh_f32_t, for, foreign, foreign_kw, fortran, found, from, full, e_tok, gt_tok, get, global, go, goto, grant, group, hash, having, hour, identified, identifier, identity, immediate, in, in_kw, include, index, indicator, inexpages, initially, inner, input, insensitive, insert, int, integer, intersect, interval, into, is, isolation, join, key, key_kw, language, last, leading, left, level, le_tok, like, lin, lt_tok, local, lock, log, long_kw, lower, lvarbinary, lvarchar, lpar, match, max, max_kw, min, min_kw, minu, minute, modify, mode, module, money, month, names, national, natural, nchar, ne_tok, next, no, nocompress, none, not, null, null_kw, nullif, number, numeric, nowait, octet_length, of, on,only, open, option, or, order, outer, outer_join, output, overlaps, pad, partial, pascal, pctfree, plus, position, precision, prepare, preserve, primary, primary_kw, prior, privileges, public, question, raw, read, real, realnumber, references, references_kw, relative, rename, resource, restrict, revoke, right, rollback, rows, rowid, rownum, rpar, schema, scroll, second, select, session, session_user, set, set_minus, share, size, smallint, some, space, sql, sqlca, sqlcode, sqlerror, sqlstate, sqlwarning, star, storage_manager, store_in_dharma, statistics, sring, substring, sum, synonym, sysdate, system_user, systime, systimestamp, table, temporary, then, time, timestamp, timezone_hour, timezone_minute, tinyint, to, trailing, transaction, trim, true, uid, union, unique, unknown, update, upper, usage, user, using, value, values, varbinary, varchar, varying, view, when, whenever, where, with, work, write, year, zone, ascade, odbcec, odbcet, odbcone, coment, odbces, odbcset
Support for escape clause in LIKE predicatesSQL_LIKE_ESCAPE_CLAUSEY (supports)
Supported lock typesSQL_LOCK_TYPES (Deprecated in ODBC 3.0.)0 (does not support)
Maximum number of active concurrent statements in asynchronous modeSQL_MAX_ASYNC_CONCURRENT_STATEMENTS (ODBC 3.0)0 (no limit)
Maximum length in hexadecimal characters of binary literalsSQL_MAX_BINARY_LITERAL_LEN2000
Maximum length of a table or column qualifierSQL_MAX_CATALOG_NAME_LEN (Renamed for ODBC 3.0. Was SQL_MAX_QUALIFIER_NAME_LEN)0 (does not support)
Maximum length in characters of character string literalsSQL_MAX_CHAR_LITERAL_LEN2000
Maximum length of a column nameSQL_MAX_COLUMN_NAME_LEN32
Maximum number of columns allowed in GROUP BY clauseSQL_MAX_COLUMNS_IN_GROUP_BY0 (no limit)
Maximum number of columns allowed in an indexSQL_MAX_COLUMNS_IN_INDEX100
Maximum number of columns allowed in ORDER BY clauseSQL_MAX_COLUMNS_IN_ORDER_BY0 (no limit)
Maximum number of columns allowed in a select listSQL_MAX_COLUMNS_IN_SELECT0 (no limit)
Maximum number of columns allowed in a tableSQL_MAX_COLUMNS_IN_TABLE500
Maximum number of active SQL statementsSQL_MAX_CONCURRENT_ACTIVITIES (Renamed for ODBC 3.0. Was SQL_ACTIVE_STATEMENTS)0 (no maximum)
Maximum length of a cursor nameSQL_MAX_CURSOR_NAME_LEN32
Maximum number of active connectionsSQL_MAX_DRIVER_CONNECTIONS (Renamed for ODBC 3.0. Was SQL_ACTIVE_CONNECTIONS)10
Maximum length of user-defined namesSQL_MAX_IDENTIFIER_LEN (ODBC 3.0)32
Maximum number of bytes allowed in the combined fields of an indexSQL_MAX_INDEX_SIZE0 (no limit)
Maximum length of an owner nameSQL_MAX_OWNER_NAME_LEN (Renamed for ODBC 3.0.)See SQL_MAX_SCHEMA_NAME_LEN
Maximum length of a procedure nameSQL_MAX_PROCEDURE_NAME_LEN32
Maximum length of a table or column qualifierSQL_MAX_QUALIFIER_NAME_LEN (Renamed for ODBC 3.0.)See SQL_MAX_CATALOG_NAME_LEN
Maximum length in bytes of a table rowSQL_MAX_ROW_SIZE0 (no limit)
Whether maximum row size includes LONGVARCHAR and LONGVARBINARYSQL_MAX_ROW_SIZE_INCLUDES_LONGY
Maximum length of an owner nameSQL_MAX_SCHEMA_NAME_LEN (Renamed for ODBC 3.0. Was SQL_MAX_OWNER_NAME_LEN)32
Maximum number of characters in a SQL statementSQL_MAX_STATEMENT_LEN25000
Maximum length of a table nameSQL_MAX_TABLE_NAME_LEN32
Maximum number of tables allowed in FROM clauseSQL_MAX_TABLES_IN_SELECT250
Maximum length of a user nameSQL_MAX_USER_NAME_LEN32
Support for multiple result setsSQL_MULT_RESULT_SETSN (does not support)
Support for active transactions on multiple connectionsSQL_MULTIPLE_ACTIVE_TXNY (supports)
Whether data source requires length of LONGVARCHAR and LONGVARBINARY dataSQL_NEED_LONG_DATA_LENN
Support for NOT NULL clause in CREATE TABLE statementSQL_NON_NULLABLE_COLUMNSSQL_NNC_NON_NULL (supports)
Where null values are sorted in a listSQL_NULL_COLLATIONSQL_NC_LOW (sorted at the low end of the list)
Numeric functions supportedSQL_NUMERIC_FUNCTIONSSQL_FN_NUM_ABS | SQL_FN_NUM_ACOS | SQL_FN_NUM_ASIN | SQL_FN_NUM_ATAN | SQL_FN_NUM_ATAN2 | SQL_FN_NUM_CEILING | SQL_FN_NUM_COS | SQL_FN_NUM_DEGREES | SQL_FN_NUM_EXP | SQL_FN_NUM_FLOOR | SQL_FN_NUM_LOG10 | SQL_FN_NUM_LOG | SQL_FN_NUM_MOD | SQL_FN_NUM_PI | SQL_FN_NUM_POWER | SQL_FN_NUM_RADIANS | SQL_FN_NUM_RAND | SQL_FN_NUM_SIGN | SQL_FN_NUM_SIN | SQL_FN_NUM_SQRT | SQL_FN_NUM_TAN (bit masks specifying support for indicated functions)
ODBC API conformance levelSQL_ODBC_API_CONFORMANCE (Deprecated in ODBC 3.0.)SQL_OAC_LEVEL1 (supports level 1)
SQL Access Group (SAG) conformanceSQL_ODBC_SAG_CLI_CONFORMANCESQL_OSCC_COMPLIANT (complies with SAG CLI specification)
ODBC SQL syntax conformanceSQL_ODBC_SQL_CONFORMANCE (Deprecated in ODBC 3.0.)SQL_OSC_EXTENDED (supports extended SQL syntax as defined by ODBC)
Referential integrity syntax supportSQL_ODBC_SQL_OPT_IEF (Renamed for ODBC 3.0.)See SQL_INTEGRITY
ODBC version supported by driver managerSQL_ODBC_VERReturned by ODBC driver manager
Whether columns in ORDER BY clause must also be in select listSQL_ORDER_BY_COLUMNS_IN_SELECTN
Support for outer joinsSQL_OUTER_JOINSY (supports)
Term for entity that has owner privileges on objectsSQL_OWNER_TERM (Renamed for ODBC 3.0.)See SQL_SCHEMA_TERM
Statements that support use of owner qualifiersSQL_OWNER_USAGE (Renamed for ODBC 3.0.)See SQL_SCHEMA_USAGE
Characteristics of row counts available in a parameterized executionSQL_PARAM_ARRAY_ROW_COUNTS (ODBC 3.0)SQL_PARC_NO_BATCH (only one row count available, which is the cumulative row count resulting from the execution of the statement for the entire array of parameters)
Characteristics of result sets available in a parameterized executionSQL_PARAM_ARRAY_SELECTS (ODBC 3.0)0 (does not support)
Supported operations in SQLSetPosSQL_POS_OPERATION (Deprecated in ODBC 3.0.)0 (does not support SQLSetPos)
Statements that support positioned operationsSQL_POSITIONED_STATEMENTS (Deprecated in ODBC 3.0.)SQL_PS_POSITIONED_DELETE | SQL_PS_POSITIONED_UPDATE | SQL_PS_SELECT_FOR_UPDATE
Term for proceduresSQL_PROCEDURE_TERMprocedure
SQL procedures supportSQL_PROCEDURESY (supports SQL procedures)
Position of qualifier in a qualified table nameSQL_QUALIFIER_LOCATION (Renamed for ODBC 3.0.)See SQL_CATALOG_LOCATION
Character used to separate table, column qualifiersSQL_QUALIFIER_NAME_SEPARATOR (Renamed for ODBC 3.0.)See SQL_CATALOG_NAME_SEPARATOR
Term for object that qualifies table namesSQL_QUALIFIER_TERM (Renamed for ODBC 3.0.)See SQL_CATALOG_TERM
Statements that support qualifiersSQL_QUALIFIER_USAGE (Renamed for ODBC 3.0.)See SQL_CATALOG_USAGE
Case-sensitivity of quoted user-supplied namesSQL_QUOTED_IDENTIFIER_CASESQL_IC_SENSITIVE (case sensitive, stored in mixed case)
Detect changes to any row in mixed-cursor operationsSQL_ROW_UPDATESY
Term for entity that has owner privileges on objectsSQL_SCHEMA_TERM (Renamed for ODBC 3.0. Was SQL_OWNER_TERM)owner
Statements that support use of owner qualifiersSQL_SCHEMA_USAGE (Renamed for ODBC 3.0. Was SQL_OWNER_USAGE)SQL_OU_DML_STATEMENTS | SQL_OU_PROCEDURE_INVOCATION | SQL_OU_TABLE_DEFINITION | SQL_OU_INDEX_DEFINITION | SQL_OU_PRIVILEGE_DEFINITION
Concurrency control options supported for scrollable cursorsSQL_SCROLL_CONCURRENCY (Deprecated in ODBC 3.0.)0 (does not support)
Options supported for scrollable cursorsSQL_SCROLL_OPTIONSSQL_SO_FORWARD_ONLY
Character to permit wildcard characters in search stringsSQL_SEARCH_PATTERN_ESCAPE\ (backslash)
Name of the system where the Dharma/SQL data source residesSQL_SERVER_NAME(string containing the name)
Special characters allowed in user-supplied namesSQL_SPECIAL_CHARACTERS_ (underscore)
Level of SQL-92 supportSQL_SQL_CONFORMANCE (ODBC 3.0)SQL_SC_SQL92_ENTRY (entry level SQL-92 compliant)
Datetime scalar functions supportedSQL_SQL92_DATETIME_FUNCTIONS (ODBC 3.0)SQL_SDF_CURRENT_DATE | SQL_SDF_CURRENT_TIME
Behavior of DELETE statement that refers to a foreign keySQL_SQL92_FOREIGN_KEY_DELETE_RULE (ODBC 3.0)SQL_SFKU_NO_ACTION
Behavior of UPDATE statement that refers to a foreign keySQL_SQL92_FOREIGN_KEY_UPDATE_RULE (ODBC 3.0)SQL_SFKU_NO_ACTION
GRANT statement clauses supportedSQL_SQL92_GRANT (ODBC 3.0)SQL_SG_DELETE_TABLE | SQL_SG_INSERT_TABLE | SQL_SG_INSERT_COLUMN | SQL_SG_REFERENCES_TABLE | SQL_SG_REFERENCES_COLUMN | SQL_SG_SELECT_TABLE | SQL_SG_UPDATE_TABLE | SQL_SG_UPDATE_COLUMN
Numeric scalar functions supportedSQL_SQL92_NUMERIC_VALUE_FUNCTIONS (ODBC 3.0)SQL_SNVF_CHAR_LENGTH | SQL_SNVF_CHARACTER_LENGTH
Predicates supportedSQL_SQL92_PREDICATES (ODBC 3.0)SP_EXISTS | SQL_SP_ISNOTNULL | SQL_SP_ISNULL | SQL_SP_UNIQUE | SQL_SP_LIKE | SQL_SP_IN | SQL_SP_BETWEEN
Relational join operators supportedSQL_SQL92_RELATIONAL_JOIN_OPERATORS (ODBC 3.0)SQL_SRJO_INNER_JOIN | SQL_SRJO_LEFT_OUTER_JOIN | SQL_SRJO_NATURAL_JOIN | SQL_SRJO_RIGHT_OUTER_JOIN
REVOKE statement clauses supportedSQL_SQL92_REVOKE (ODBC 3.0)SQL_SR_GRANT_OPTION_FOR | SQL_SR_CASCADE | SQL_SR_RESTRICT | SQL_SR_DELETE_TABLE | SQL_SR_INSERT_TABLE | SQL_SR_INSERT_COLUMN | SQL_SR_REFERENCES_TABLE | SQL_SR_REFERENCES_COLUMN | SQL_SR_SELECT_TABLE | SQL_SR_UPDATE_TABLE | SQL_SR_UPDATE_COLUMN
Row value constructor expressions supportedSQL_SQL92_ROW_VALUE_CONSTRUCTOR (ODBC 3.0)0 (does not support)
String scalar functions supportedSQL_SQL92_STRING_FUNCTIONS (ODBC 3.0)SQL_SSF_CONVERT | SQL_SSF_LOWER | SQL_SSF_UPPER | SQL_SSF_SUBSTRING | SQL_SSF_TRANSLATE | SQL_SSF_TRIM_LEADING | SQL_SSF_TRIM_TRAILING
Value expressions supportedSQL_SQL92_VALUE_EXPRESSIONS (ODBC 3.0)SQL_SVE_CASE | SQL_SVE_CAST | SQL_SVE_COALESCE | SQL_SVE_NULLIF
CLI standards to which the driver conformsSQL_STANDARD_CLI_CONFORMANCE (ODBC 3.0)SQL_SCC_XOPEN_CLI_VERSION1 (conforms to X/Open CLI version 1)
Supported attributes of a static cursor: subset 1SQL_STATIC_CURSOR_ATTRIBUTES1 (ODBC 3.0)SQL_CA1_NEXT (supports SQL_FETCH_NEXT argument to SQLFetchScroll for static cursors)
Supported attributes of a static cursor: subset 2SQL_STATIC_CURSOR_ATTRIBUTES2 (ODBC 3.0)0 (does not support any attributes in the subset))
Whether static cursor changes are detectableSQL_STATIC_SENSITIVITY (Deprecated in ODBC 3.0.)0 (does not support static cursors)
String functions supportedSQL_STRING_FUNCTIONSSQL_FN_STR_CONCAT | SQL_FN_STR_INSERT | SQL_FN_STR_LEFT | SQL_FN_STR_LTRIM | SQL_FN_STR_LENGTH | SQL_FN_STR_LOCATE | SQL_FN_STR_LCASE | SQL_FN_STR_REPEAT | SQL_FN_STR_REPLACE | SQL_FN_STR_RTRIM | SQL_FN_STR_SUBSTRING | SQL_FN_STR_UCASE | SQL_FN_STR_ASCII | SQL_FN_STR_CHAR | SQL_FN_STR_DIFFERENCE | SQL_FN_STR_SOUNDEX | SQL_FN_STR_SPACE | SQL_FN_STR_CHAR_LENGTH | SQL_FN_STR_CHARACTER_LENGTH
Predicates that support subqueriesSQL_SUBQUERIESSQL_SQ_CORRELATED_SUBQUERIES | SQL_SQ_COMPARISON | SQL_SQ_EXISTS | SQL_SQ_IN | SQL_SQ_QUANTIFIED
System functions supportedSQL_SYSTEM_FUNCTIONSSQL_FN_SYS_DBNAME | SQL_FN_SYS_IFNULL | SQL_FN_SYS_USERNAME
Term for tablesSQL_TABLE_TERMtable
Timestamp intervals supported for TIMESTAMPADD functionSQL_TIMEDATE_ADD_INTERVALSSQL_TSI_FRAC_SECOND | SQL_TSI_SECOND | SQL_TSI_MINUTE | SQL_TSI_HOUR | SQL_TSI_DAY | SQL_TSI_WEEK | SQL_TSI_MONTH | SQL_TSI_QUARTER | SQL_TSI_YEAR
Timestamp intervals supported for TIMESTAMPDIFF functionSQL_TIMEDATE_DIFF_INTERVALSSQL_TSI_FRAC_SECOND | SQL_TSI_SECOND | SQL_TSI_MINUTE | SQL_TSI_HOUR | SQL_TSI_DAY | SQL_TSI_WEEK | SQL_TSI_MONTH | SQL_TSI_QUARTER | SQL_TSI_YEAR
Date-time functions supportedSQL_TIMEDATE_FUNCTIONSSQL_FN_TD_NOW | SQL_FN_TD_CURDATE | SQL_FN_TD_DAYNAME | SQL_FN_TD_DAYOFMONTH | SQL_FN_TD_DAYOFWEEK | SQL_FN_TD_DAYOFYEAR | SQL_FN_TD_MONTH | SQL_FN_TD_MONTHNAME | SQL_FN_TD_QUARTER | SQL_FN_TD_WEEK | SQL_FN_TD_YEAR | SQL_FN_TD_CURTIME | SQL_FN_TD_HOUR | SQL_FN_TD_MINUTE | SQL_FN_TD_SECOND | SQL_FN_TD_TIMESTAMPADD | SQL_FN_TD_TIMESTAMPDIFF
Support for DML, DDL within transactionsSQL_TXN_CAPABLESQL_TC_ALL (supports both DML and DDL)
Options for setting transaction isolation levelsSQL_TXN_ISOLATION_OPTIONSQL_TXN_READ_UNCOMMITTED | SQL_TXN_READ_COMMITTED | SQL_TXN_REPEATABLE_READ | SQL_TXN_SERIALIZABLE
UNION supportSQL_UNIONSQL_U_UNION | SQL_U_UNION_ALL
Name of user connected to the data sourceSQL_USER_NAME(string containing the name)