sqlext.h revision 930b5f872e89407f445d4000d4e4aaecaa6a0998
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * MS SQL Extension definitions
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * Copyright (C) 1999 Xiang Li
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * This library is free software; you can redistribute it and/or
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * modify it under the terms of the GNU Lesser General Public
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * License as published by the Free Software Foundation; either
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * version 2.1 of the License, or (at your option) any later version.
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * This library is distributed in the hope that it will be useful,
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * but WITHOUT ANY WARRANTY; without even the implied warranty of
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * Lesser General Public License for more details.
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * You should have received a copy of the GNU Lesser General Public
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * License along with this library; if not, write to the Free Software
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * a choice of LGPL license versions is made available with the language indicating
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * that LGPLv2 or any later version may be used, or where a choice of which version
930b5f872e89407f445d4000d4e4aaecaa6a0998vboxsync * of the LGPL is applied is otherwise unspecified.
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsyncextern "C" {
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_ATTR_CURRENT_CATALOG SQL_CURRENT_QUALIFIER
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_ATTR_TRANSLATE_OPTION SQL_TRANSLATE_OPTION
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_ATTR_SIMULATE_CURSOR SQL_SIMULATE_CURSOR
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_PARAM_BIND_TYPE_DEFAULT SQL_PARAM_BIND_BY_COLUMN
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_ASYNC_ENABLE_DEFAULT SQL_ASYNC_ENABLE_OFF
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_CURSOR_TYPE_DEFAULT SQL_CURSOR_FORWARD_ONLY
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_DESC_AUTO_UNIQUE_VALUE SQL_COLUMN_AUTO_INCREMENT
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_DESC_CASE_SENSITIVE SQL_COLUMN_CASE_SENSITIVE
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_DESC_CATALOG_NAME SQL_COLUMN_QUALIFIER_NAME
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_DESC_DISPLAY_SIZE SQL_COLUMN_DISPLAY_SIZE
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_INTERVAL_YEAR_TO_MONTH (100 + SQL_CODE_YEAR_TO_MONTH)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_INTERVAL_DAY_TO_HOUR (100 + SQL_CODE_DAY_TO_HOUR)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_INTERVAL_DAY_TO_MINUTE (100 + SQL_CODE_DAY_TO_MINUTE)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_INTERVAL_DAY_TO_SECOND (100 + SQL_CODE_DAY_TO_SECOND)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_INTERVAL_HOUR_TO_MINUTE (100 + SQL_CODE_HOUR_TO_MINUTE)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_INTERVAL_HOUR_TO_SECOND (100 + SQL_CODE_HOUR_TO_SECOND)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_INTERVAL_MINUTE_TO_SECOND (100 + SQL_CODE_MINUTE_TO_SECOND)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_C_INTERVAL_YEAR_TO_MONTH SQL_INTERVAL_YEAR_TO_MONTH
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_C_INTERVAL_DAY_TO_HOUR SQL_INTERVAL_DAY_TO_HOUR
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_C_INTERVAL_DAY_TO_MINUTE SQL_INTERVAL_DAY_TO_MINUTE
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_C_INTERVAL_DAY_TO_SECOND SQL_INTERVAL_DAY_TO_SECOND
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_C_INTERVAL_HOUR_TO_MINUTE SQL_INTERVAL_HOUR_TO_MINUTE
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_C_INTERVAL_HOUR_TO_SECOND SQL_INTERVAL_HOUR_TO_SECOND
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_C_INTERVAL_MINUTE_TO_SECOND SQL_INTERVAL_MINUTE_TO_SECOND
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_C_SBIGINT (SQL_BIGINT+SQL_SIGNED_OFFSET)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_C_UBIGINT (SQL_BIGINT+SQL_UNSIGNED_OFFSET)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_C_SSHORT (SQL_C_SHORT+SQL_SIGNED_OFFSET)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_C_STINYINT (SQL_TINYINT+SQL_SIGNED_OFFSET)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_C_ULONG (SQL_C_LONG+SQL_UNSIGNED_OFFSET)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_C_USHORT (SQL_C_SHORT+SQL_UNSIGNED_OFFSET)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_C_UTINYINT (SQL_TINYINT+SQL_UNSIGNED_OFFSET)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_LEN_DATA_AT_EXEC(length) (-(length)+SQL_LEN_DATA_AT_EXEC_OFFSET)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_LEN_BINARY_ATTR(length) (-(length)+SQL_LEN_BINARY_ATTR_OFFSET)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_PARAM_TYPE_DEFAULT SQL_PARAM_INPUT_OUTPUT
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_NUM_EXTENSIONS (SQL_EXT_API_LAST-SQL_EXT_API_START+1)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_FUNC_EXISTS(pfExists, uwAPI) ((*(((UWORD*) (pfExists)) + ((uwAPI) >> 4)) & (1 << ((uwAPI) & 0x000F)) ) ? SQL_TRUE : SQL_FALSE )
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_CATALOG_NAME_SEPARATOR SQL_QUALIFIER_NAME_SEPARATOR
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_AT_ADD_COLUMN_SINGLE __MSABI_LONG(0x00000020)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_AT_ADD_COLUMN_DEFAULT __MSABI_LONG(0x00000040)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_AT_ADD_COLUMN_COLLATION __MSABI_LONG(0x00000080)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_AT_SET_COLUMN_DEFAULT __MSABI_LONG(0x00000100)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_AT_DROP_COLUMN_DEFAULT __MSABI_LONG(0x00000200)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_AT_DROP_COLUMN_CASCADE __MSABI_LONG(0x00000400)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_AT_DROP_COLUMN_RESTRICT __MSABI_LONG(0x00000800)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_AT_ADD_TABLE_CONSTRAINT __MSABI_LONG(0x00001000)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_AT_DROP_TABLE_CONSTRAINT_CASCADE __MSABI_LONG(0x00002000)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_AT_DROP_TABLE_CONSTRAINT_RESTRICT __MSABI_LONG(0x00004000)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_AT_CONSTRAINT_NAME_DEFINITION __MSABI_LONG(0x00008000)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_AT_CONSTRAINT_INITIALLY_DEFERRED __MSABI_LONG(0x00010000)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_AT_CONSTRAINT_INITIALLY_IMMEDIATE __MSABI_LONG(0x00020000)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_AT_CONSTRAINT_DEFERRABLE __MSABI_LONG(0x00040000)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_AT_CONSTRAINT_NON_DEFERRABLE __MSABI_LONG(0x00080000)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_CVT_LONGVARCHAR __MSABI_LONG(0x00000200)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_CVT_LONGVARBINARY __MSABI_LONG(0x00040000)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_CVT_INTERVAL_YEAR_MONTH __MSABI_LONG(0x00080000)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_CVT_INTERVAL_DAY_TIME __MSABI_LONG(0x00100000)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_CVT_WLONGVARCHAR __MSABI_LONG(0x00400000)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_FN_STR_SUBSTRING __MSABI_LONG(0x00000800)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_FN_STR_DIFFERENCE __MSABI_LONG(0x00008000)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_FN_STR_LOCATE_2 __MSABI_LONG(0x00010000)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_FN_STR_BIT_LENGTH __MSABI_LONG(0x00080000)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_FN_STR_CHAR_LENGTH __MSABI_LONG(0x00100000)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_FN_STR_CHARACTER_LENGTH __MSABI_LONG(0x00200000)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_FN_STR_OCTET_LENGTH __MSABI_LONG(0x00400000)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_FN_STR_POSITION __MSABI_LONG(0x00800000)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_SSF_TRIM_LEADING __MSABI_LONG(0x00000040)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_SSF_TRIM_TRAILING __MSABI_LONG(0x00000080)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_FN_NUM_TRUNCATE __MSABI_LONG(0x00800000)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_SNVF_BIT_LENGTH __MSABI_LONG(0x00000001)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_SNVF_CHAR_LENGTH __MSABI_LONG(0x00000002)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_SNVF_CHARACTER_LENGTH __MSABI_LONG(0x00000004)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_SNVF_OCTET_LENGTH __MSABI_LONG(0x00000010)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_FN_TD_DAYOFMONTH __MSABI_LONG(0x00000004)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_FN_TD_DAYOFWEEK __MSABI_LONG(0x00000008)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_FN_TD_DAYOFYEAR __MSABI_LONG(0x00000010)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_FN_TD_TIMESTAMPADD __MSABI_LONG(0x00002000)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_FN_TD_TIMESTAMPDIFF __MSABI_LONG(0x00004000)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_FN_TD_MONTHNAME __MSABI_LONG(0x00010000)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_FN_TD_CURRENT_DATE __MSABI_LONG(0x00020000)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_FN_TD_CURRENT_TIME __MSABI_LONG(0x00040000)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_FN_TD_CURRENT_TIMESTAMP __MSABI_LONG(0x00080000)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_SDF_CURRENT_DATE __MSABI_LONG(0x00000001)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_SDF_CURRENT_TIME __MSABI_LONG(0x00000002)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_SDF_CURRENT_TIMESTAMP __MSABI_LONG(0x00000004)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_FN_SYS_USERNAME __MSABI_LONG(0x00000001)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_FN_TSI_FRAC_SECOND __MSABI_LONG(0x00000001)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_CA1_LOCK_NO_CHANGE __MSABI_LONG(0x00000040)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_CA1_LOCK_EXCLUSIVE __MSABI_LONG(0x00000080)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_CA1_LOCK_UNLOCK __MSABI_LONG(0x00000100)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_CA1_POS_POSITION __MSABI_LONG(0x00000200)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_CA1_POS_REFRESH __MSABI_LONG(0x00001000)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_CA1_POSITIONED_UPDATE __MSABI_LONG(0x00002000)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_CA1_POSITIONED_DELETE __MSABI_LONG(0x00004000)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_CA1_SELECT_FOR_UPDATE __MSABI_LONG(0x00008000)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_CA1_BULK_UPDATE_BY_BOOKMARK __MSABI_LONG(0x00020000)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_CA1_BULK_DELETE_BY_BOOKMARK __MSABI_LONG(0x00040000)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_CA1_BULK_FETCH_BY_BOOKMARK __MSABI_LONG(0x00080000)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_CA2_READ_ONLY_CONCURRENCY __MSABI_LONG(0x00000001)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_CA2_LOCK_CONCURRENCY __MSABI_LONG(0x00000002)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_CA2_OPT_ROWVER_CONCURRENCY __MSABI_LONG(0x00000004)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_CA2_OPT_VALUES_CONCURRENCY __MSABI_LONG(0x00000008)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_CA2_SENSITIVITY_ADDITIONS __MSABI_LONG(0x00000010)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_CA2_SENSITIVITY_DELETIONS __MSABI_LONG(0x00000020)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_CA2_SENSITIVITY_UPDATES __MSABI_LONG(0x00000040)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_CA2_MAX_ROWS_SELECT __MSABI_LONG(0x00000080)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_CA2_MAX_ROWS_INSERT __MSABI_LONG(0x00000100)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_CA2_MAX_ROWS_DELETE __MSABI_LONG(0x00000200)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_CA2_MAX_ROWS_UPDATE __MSABI_LONG(0x00000400)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_CA2_MAX_ROWS_CATALOG __MSABI_LONG(0x00000800)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#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)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_CA2_CRC_APPROXIMATE __MSABI_LONG(0x00002000)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_CA2_SIMULATE_NON_UNIQUE __MSABI_LONG(0x00004000)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_CA2_SIMULATE_TRY_UNIQUE __MSABI_LONG(0x00008000)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_CA2_SIMULATE_UNIQUE __MSABI_LONG(0x00010000)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_SO_FORWARD_ONLY __MSABI_LONG(0x00000001)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_SO_KEYSET_DRIVEN __MSABI_LONG(0x00000002)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_FD_FETCH_BOOKMARK __MSABI_LONG(0x00000080)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_PS_POSITIONED_DELETE __MSABI_LONG(0x00000001)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_PS_POSITIONED_UPDATE __MSABI_LONG(0x00000002)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_PS_SELECT_FOR_UPDATE __MSABI_LONG(0x00000004)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_OU_DML_STATEMENTS __MSABI_LONG(0x00000001)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_OU_PROCEDURE_INVOCATION __MSABI_LONG(0x00000002)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_OU_TABLE_DEFINITION __MSABI_LONG(0x00000004)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_OU_INDEX_DEFINITION __MSABI_LONG(0x00000008)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_OU_PRIVILEGE_DEFINITION __MSABI_LONG(0x00000010)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_SU_PROCEDURE_INVOCATION SQL_OU_PROCEDURE_INVOCATION
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_SU_TABLE_DEFINITION SQL_OU_TABLE_DEFINITION
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_SU_INDEX_DEFINITION SQL_OU_INDEX_DEFINITION
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_SU_PRIVILEGE_DEFINITION SQL_OU_PRIVILEGE_DEFINITION
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_QU_DML_STATEMENTS __MSABI_LONG(0x00000001)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_QU_PROCEDURE_INVOCATION __MSABI_LONG(0x00000002)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_QU_TABLE_DEFINITION __MSABI_LONG(0x00000004)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_QU_INDEX_DEFINITION __MSABI_LONG(0x00000008)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_QU_PRIVILEGE_DEFINITION __MSABI_LONG(0x00000010)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_CU_PROCEDURE_INVOCATION SQL_QU_PROCEDURE_INVOCATION
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_CU_TABLE_DEFINITION SQL_QU_TABLE_DEFINITION
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_CU_INDEX_DEFINITION SQL_QU_INDEX_DEFINITION
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_CU_PRIVILEGE_DEFINITION SQL_QU_PRIVILEGE_DEFINITION
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_SQ_CORRELATED_SUBQUERIES __MSABI_LONG(0x00000010)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_CV_CHECK_OPTION __MSABI_LONG(0x00000002)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_SC_FIPS127_2_TRANSITIONAL __MSABI_LONG(0x00000002)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_SC_SQL92_INTERMEDIATE __MSABI_LONG(0x00000004)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_DL_SQL92_TIMESTAMP __MSABI_LONG(0x00000004)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_DL_SQL92_INTERVAL_YEAR __MSABI_LONG(0x00000008)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_DL_SQL92_INTERVAL_MONTH __MSABI_LONG(0x00000010)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_DL_SQL92_INTERVAL_DAY __MSABI_LONG(0x00000020)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_DL_SQL92_INTERVAL_HOUR __MSABI_LONG(0x00000040)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_DL_SQL92_INTERVAL_MINUTE __MSABI_LONG(0x00000080)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_DL_SQL92_INTERVAL_SECOND __MSABI_LONG(0x00000100)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_DL_SQL92_INTERVAL_YEAR_TO_MONTH __MSABI_LONG(0x00000200)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_DL_SQL92_INTERVAL_DAY_TO_HOUR __MSABI_LONG(0x00000400)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_DL_SQL92_INTERVAL_DAY_TO_MINUTE __MSABI_LONG(0x00000800)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_DL_SQL92_INTERVAL_DAY_TO_SECOND __MSABI_LONG(0x00001000)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_DL_SQL92_INTERVAL_HOUR_TO_MINUTE __MSABI_LONG(0x00002000)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_DL_SQL92_INTERVAL_HOUR_TO_SECOND __MSABI_LONG(0x00004000)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_DL_SQL92_INTERVAL_MINUTE_TO_SECOND __MSABI_LONG(0x00008000)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_BS_SELECT_EXPLICIT __MSABI_LONG(0x00000001)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_BS_ROW_COUNT_EXPLICIT __MSABI_LONG(0x00000002)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_BS_ROW_COUNT_PROC __MSABI_LONG(0x00000008)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_ISV_CHARACTER_SETS __MSABI_LONG(0x00000002)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_ISV_CHECK_CONSTRAINTS __MSABI_LONG(0x00000004)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_ISV_COLUMN_DOMAIN_USAGE __MSABI_LONG(0x00000010)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_ISV_COLUMN_PRIVILEGES __MSABI_LONG(0x00000020)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_ISV_CONSTRAINT_COLUMN_USAGE __MSABI_LONG(0x00000080)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_ISV_CONSTRAINT_TABLE_USAGE __MSABI_LONG(0x00000100)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_ISV_DOMAIN_CONSTRAINTS __MSABI_LONG(0x00000200)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_ISV_KEY_COLUMN_USAGE __MSABI_LONG(0x00000800)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_ISV_REFERENTIAL_CONSTRAINTS __MSABI_LONG(0x00001000)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_ISV_SQL_LANGUAGES __MSABI_LONG(0x00004000)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_ISV_TABLE_CONSTRAINTS __MSABI_LONG(0x00008000)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_ISV_TABLE_PRIVILEGES __MSABI_LONG(0x00010000)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_ISV_TRANSLATIONS __MSABI_LONG(0x00040000)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_ISV_USAGE_PRIVILEGES __MSABI_LONG(0x00080000)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_ISV_VIEW_COLUMN_USAGE __MSABI_LONG(0x00100000)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_ISV_VIEW_TABLE_USAGE __MSABI_LONG(0x00200000)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_AD_CONSTRAINT_NAME_DEFINITION __MSABI_LONG(0x00000001)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_AD_ADD_DOMAIN_CONSTRAINT __MSABI_LONG(0x00000002)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_AD_DROP_DOMAIN_CONSTRAINT __MSABI_LONG(0x00000004)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_AD_ADD_DOMAIN_DEFAULT __MSABI_LONG(0x00000008)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_AD_DROP_DOMAIN_DEFAULT __MSABI_LONG(0x00000010)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_AD_ADD_CONSTRAINT_INITIALLY_DEFERRED __MSABI_LONG(0x00000020)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_AD_ADD_CONSTRAINT_INITIALLY_IMMEDIATE __MSABI_LONG(0x00000040)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_AD_ADD_CONSTRAINT_DEFERRABLE __MSABI_LONG(0x00000080)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_AD_ADD_CONSTRAINT_NON_DEFERRABLE __MSABI_LONG(0x00000100)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_CS_CREATE_SCHEMA __MSABI_LONG(0x00000001)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_CS_AUTHORIZATION __MSABI_LONG(0x00000002)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_CS_DEFAULT_CHARACTER_SET __MSABI_LONG(0x00000004)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_CTR_CREATE_TRANSLATION __MSABI_LONG(0x00000001)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_CA_CREATE_ASSERTION __MSABI_LONG(0x00000001)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_CA_CONSTRAINT_INITIALLY_DEFERRED __MSABI_LONG(0x00000010)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_CA_CONSTRAINT_INITIALLY_IMMEDIATE __MSABI_LONG(0x00000020)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_CA_CONSTRAINT_DEFERRABLE __MSABI_LONG(0x00000040)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_CA_CONSTRAINT_NON_DEFERRABLE __MSABI_LONG(0x00000080)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_CCS_CREATE_CHARACTER_SET __MSABI_LONG(0x00000001)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_CCS_COLLATE_CLAUSE __MSABI_LONG(0x00000002)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_CCS_LIMITED_COLLATION __MSABI_LONG(0x00000004)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_CCOL_CREATE_COLLATION __MSABI_LONG(0x00000001)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_CDO_CREATE_DOMAIN __MSABI_LONG(0x00000001)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_CDO_CONSTRAINT_NAME_DEFINITION __MSABI_LONG(0x00000010)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_CDO_CONSTRAINT_INITIALLY_DEFERRED __MSABI_LONG(0x00000020)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_CDO_CONSTRAINT_INITIALLY_IMMEDIATE __MSABI_LONG(0x00000040)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_CDO_CONSTRAINT_DEFERRABLE __MSABI_LONG(0x00000080)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_CDO_CONSTRAINT_NON_DEFERRABLE __MSABI_LONG(0x00000100)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_CT_CREATE_TABLE __MSABI_LONG(0x00000001)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_CT_COMMIT_PRESERVE __MSABI_LONG(0x00000002)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_CT_COMMIT_DELETE __MSABI_LONG(0x00000004)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_CT_GLOBAL_TEMPORARY __MSABI_LONG(0x00000008)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_CT_LOCAL_TEMPORARY __MSABI_LONG(0x00000010)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_CT_CONSTRAINT_INITIALLY_DEFERRED __MSABI_LONG(0x00000020)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_CT_CONSTRAINT_INITIALLY_IMMEDIATE __MSABI_LONG(0x00000040)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_CT_CONSTRAINT_DEFERRABLE __MSABI_LONG(0x00000080)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_CT_CONSTRAINT_NON_DEFERRABLE __MSABI_LONG(0x00000100)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_CT_COLUMN_CONSTRAINT __MSABI_LONG(0x00000200)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_CT_COLUMN_DEFAULT __MSABI_LONG(0x00000400)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_CT_COLUMN_COLLATION __MSABI_LONG(0x00000800)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_CT_TABLE_CONSTRAINT __MSABI_LONG(0x00001000)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_CT_CONSTRAINT_NAME_DEFINITION __MSABI_LONG(0x00002000)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_DI_CREATE_INDEX __MSABI_LONG(0x00000001)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_DC_DROP_COLLATION __MSABI_LONG(0x00000001)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_DCS_DROP_CHARACTER_SET __MSABI_LONG(0x00000001)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_DA_DROP_ASSERTION __MSABI_LONG(0x00000001)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_DTR_DROP_TRANSLATION __MSABI_LONG(0x00000001)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_IS_INSERT_LITERALS __MSABI_LONG(0x00000001)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_IS_INSERT_SEARCHED __MSABI_LONG(0x00000002)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_SFKD_SET_DEFAULT __MSABI_LONG(0x00000004)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_SFKU_SET_DEFAULT __MSABI_LONG(0x00000004)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_SG_USAGE_ON_DOMAIN __MSABI_LONG(0x00000001)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_SG_USAGE_ON_CHARACTER_SET __MSABI_LONG(0x00000002)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_SG_USAGE_ON_COLLATION __MSABI_LONG(0x00000004)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_SG_USAGE_ON_TRANSLATION __MSABI_LONG(0x00000008)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_SG_WITH_GRANT_OPTION __MSABI_LONG(0x00000010)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_SG_DELETE_TABLE __MSABI_LONG(0x00000020)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_SG_INSERT_TABLE __MSABI_LONG(0x00000040)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_SG_INSERT_COLUMN __MSABI_LONG(0x00000080)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_SG_REFERENCES_TABLE __MSABI_LONG(0x00000100)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_SG_REFERENCES_COLUMN __MSABI_LONG(0x00000200)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_SG_SELECT_TABLE __MSABI_LONG(0x00000400)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_SG_UPDATE_TABLE __MSABI_LONG(0x00000800)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_SG_UPDATE_COLUMN __MSABI_LONG(0x00001000)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_SP_MATCH_PARTIAL __MSABI_LONG(0x00000010)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_SP_MATCH_UNIQUE_FULL __MSABI_LONG(0x00000020)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_SP_MATCH_UNIQUE_PARTIAL __MSABI_LONG(0x00000040)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_SP_QUANTIFIED_COMPARISON __MSABI_LONG(0x00002000)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_SRJO_CORRESPONDING_CLAUSE __MSABI_LONG(0x00000001)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_SRJO_CROSS_JOIN __MSABI_LONG(0x00000002)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_SRJO_EXCEPT_JOIN __MSABI_LONG(0x00000004)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_SRJO_FULL_OUTER_JOIN __MSABI_LONG(0x00000008)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_SRJO_INNER_JOIN __MSABI_LONG(0x00000010)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_SRJO_INTERSECT_JOIN __MSABI_LONG(0x00000020)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_SRJO_LEFT_OUTER_JOIN __MSABI_LONG(0x00000040)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_SRJO_NATURAL_JOIN __MSABI_LONG(0x00000080)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_SRJO_RIGHT_OUTER_JOIN __MSABI_LONG(0x00000100)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_SRJO_UNION_JOIN __MSABI_LONG(0x00000200)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_SR_USAGE_ON_DOMAIN __MSABI_LONG(0x00000001)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_SR_USAGE_ON_CHARACTER_SET __MSABI_LONG(0x00000002)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_SR_USAGE_ON_COLLATION __MSABI_LONG(0x00000004)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_SR_USAGE_ON_TRANSLATION __MSABI_LONG(0x00000008)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_SR_GRANT_OPTION_FOR __MSABI_LONG(0x00000010)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_SR_DELETE_TABLE __MSABI_LONG(0x00000080)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_SR_INSERT_TABLE __MSABI_LONG(0x00000100)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_SR_INSERT_COLUMN __MSABI_LONG(0x00000200)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_SR_REFERENCES_TABLE __MSABI_LONG(0x00000400)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_SR_REFERENCES_COLUMN __MSABI_LONG(0x00000800)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_SR_SELECT_TABLE __MSABI_LONG(0x00001000)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_SR_UPDATE_TABLE __MSABI_LONG(0x00002000)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_SR_UPDATE_COLUMN __MSABI_LONG(0x00004000)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_SRVC_VALUE_EXPRESSION __MSABI_LONG(0x00000001)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_SRVC_ROW_SUBQUERY __MSABI_LONG(0x00000008)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_SCC_XOPEN_CLI_VERSION1 __MSABI_LONG(0x00000001)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_DTC_ENLIST_EXPENSIVE __MSABI_LONG(0x00000001)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_DTC_UNENLIST_EXPENSIVE __MSABI_LONG(0x00000002)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_POSITION_TO(hstmt,irow) SQLSetPos(hstmt,irow,SQL_POSITION,SQL_LOCK_NO_CHANGE)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_LOCK_RECORD(hstmt,irow,fLock) SQLSetPos(hstmt,irow,SQL_POSITION,fLock)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_REFRESH_RECORD(hstmt,irow,fLock) SQLSetPos(hstmt,irow,SQL_REFRESH,fLock)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_UPDATE_RECORD(hstmt,irow) SQLSetPos(hstmt,irow,SQL_UPDATE,SQL_LOCK_NO_CHANGE)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_DELETE_RECORD(hstmt,irow) SQLSetPos(hstmt,irow,SQL_DELETE,SQL_LOCK_NO_CHANGE)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_ADD_RECORD(hstmt,irow) SQLSetPos(hstmt,irow,SQL_ADD,SQL_LOCK_NO_CHANGE)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#endif /* ODBCVER >= 0x0300 */
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_ODBC_KEYWORDS "ABSOLUTE,ACTION,ADA,ADD,ALL,ALLOCATE,ALTER,AND,ANY,ARE,AS,"
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQLAllocEnv(phenv) SQLAllocHandleStd(SQL_HANDLE_ENV, SQL_NULL_HANDLE, phenv)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define SQL_MINUTE_TO_SECOND SQL_CODE_MINUTE_TO_SECOND
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync/*#define TRACE_ON __MSABI_LONG(0x00000001)*/
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define ODBC_VS_FLAG_UNICODE_ARG __MSABI_LONG(0x00000001)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define ODBC_VS_FLAG_UNICODE_COR __MSABI_LONG(0x00000002)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsync#define ODBC_VS_FLAG_RETCODE __MSABI_LONG(0x00000004)
3194da424708abdd288b28d96892b3a5f3f7df0bvboxsynctypedef struct tagODBC_VS_ARGS {