DBD-Mimer
view release on metacpan or search on metacpan
*/
#define SQL_CA1_NEXT 0x00000001L
#define SQL_CA1_ABSOLUTE 0x00000002L
#define SQL_CA1_RELATIVE 0x00000004L
#define SQL_CA1_BOOKMARK 0x00000008L
/*
* SQLSetPos - LockType
*/
#define SQL_CA1_LOCK_NO_CHANGE 0x00000040L
#define SQL_CA1_LOCK_EXCLUSIVE 0x00000080L
#define SQL_CA1_LOCK_UNLOCK 0x00000100L
/*
* SQLSetPos Operations
*/
#define SQL_CA1_POS_POSITION 0x00000200L
#define SQL_CA1_POS_UPDATE 0x00000400L
#define SQL_CA1_POS_DELETE 0x00000800L
#define SQL_CA1_POS_REFRESH 0x00001000L
/*
* positioned updates and deletes
*/
#define SQL_CA1_POSITIONED_UPDATE 0x00002000L
#define SQL_CA1_POSITIONED_DELETE 0x00004000L
#define SQL_CA1_SELECT_FOR_UPDATE 0x00008000L
/*
* SQLBulkOperations operations
*/
#define SQL_CA1_BULK_ADD 0x00010000L
#define SQL_CA1_BULK_UPDATE_BY_BOOKMARK 0x00020000L
#define SQL_CA1_BULK_DELETE_BY_BOOKMARK 0x00040000L
#define SQL_CA1_BULK_FETCH_BY_BOOKMARK 0x00080000L
#endif /* ODBCVER >= 0x0300 */
/*
* SQLGetInfo - SQL_DYNAMIC_CURSOR_ATTRIBUTES2
* SQLGetInfo - SQL_FORWARD_ONLY_CURSOR_ATTRIBUTES2
* SQLGetInfo - SQL_KEYSET_CURSOR_ATTRIBUTES2
* SQLGetInfo - SQL_STATIC_CURSOR_ATTRIBUTES2
*/
#if (ODBCVER >= 0x0300)
/*
* SQL_ATTR_SCROLL_CONCURRENCY
*/
#define SQL_CA2_READ_ONLY_CONCURRENCY 0x00000001L
#define SQL_CA2_LOCK_CONCURRENCY 0x00000002L
#define SQL_CA2_OPT_ROWVER_CONCURRENCY 0x00000004L
#define SQL_CA2_OPT_VALUES_CONCURRENCY 0x00000008L
/*
* sensitivity of the cursor to its own inserts, deletes, and updates
*/
#define SQL_CA2_SENSITIVITY_ADDITIONS 0x00000010L
#define SQL_CA2_SENSITIVITY_DELETIONS 0x00000020L
#define SQL_CA2_SENSITIVITY_UPDATES 0x00000040L
/*
* SQL_ATTR_MAX_ROWS
*/
#define SQL_CA2_MAX_ROWS_SELECT 0x00000080L
#define SQL_CA2_MAX_ROWS_INSERT 0x00000100L
#define SQL_CA2_MAX_ROWS_DELETE 0x00000200L
#define SQL_CA2_MAX_ROWS_UPDATE 0x00000400L
#define SQL_CA2_MAX_ROWS_CATALOG 0x00000800L
#define SQL_CA2_MAX_ROWS_AFFECTS_ALL (SQL_CA2_MAX_ROWS_SELECT | \
SQL_CA2_MAX_ROWS_INSERT | \
SQL_CA2_MAX_ROWS_DELETE | \
SQL_CA2_MAX_ROWS_UPDATE | \
SQL_CA2_MAX_ROWS_CATALOG)
/*
* SQL_DIAG_CURSOR_ROW_COUNT
*/
#define SQL_CA2_CRC_EXACT 0x00001000L
#define SQL_CA2_CRC_APPROXIMATE 0x00002000L
/*
* the kinds of positioned statements that can be simulated
*/
#define SQL_CA2_SIMULATE_NON_UNIQUE 0x00004000L
#define SQL_CA2_SIMULATE_TRY_UNIQUE 0x00008000L
#define SQL_CA2_SIMULATE_UNIQUE 0x00010000L
#endif /* ODBCVER >= 0x0300 */
/*
* SQLGetInfo - SQL_FETCH_DIRECTION
*/
#if (ODBCVER < 0x0300)
#define SQL_FD_FETCH_RESUME 0x00000040L
#endif /* ODBCVER < 0x0300 */
#define SQL_FD_FETCH_BOOKMARK 0x00000080L
/*
* SQLGetInfo - SQL_FILE_USAGE
*/
#define SQL_FILE_NOT_SUPPORTED 0x0000
#define SQL_FILE_TABLE 0x0001
#define SQL_FILE_QUALIFIER 0x0002
#define SQL_FILE_CATALOG SQL_FILE_QUALIFIER
/*
* SQLGetInfo - SQL_GETDATA_EXTENSIONS
*/
#define SQL_GD_BLOCK 0x00000004L
#define SQL_GD_BOUND 0x00000008L
( run in 0.801 second using v1.01-cache-2.11-cpan-39bf76dae61 )