⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sql.h

📁 能够连接各种数据库的API
💻 H
📖 第 1 页 / 共 5 页
字号:
#endif/* Values used for option[n].type in the sqloptions structure                 *//* of sqlabndx(), sqlaprep() and sqlarbnd().                                  */#define SQL_DATETIME_OPT       1       /* Option for date/time format - bind  */                                       /* and precompile option               */#define SQL_STANDARDS_OPT      2       /* Option for standards level          */                                       /* compliance - precompile option      */                                       /* only                                */#define SQL_ISO_OPT            4       /* Option for isolation level - bind   */                                       /* and precompile option               */#define SQL_BLOCK_OPT          5       /* Option for record blocking - bind   */                                       /* and precompile option               */#define SQL_GRANT_OPT          6       /* Option for granting privileges -    */                                       /* bind option only                    */#define SQL_FLAG_OPT           8       /* Option for the Flagger -            */                                       /* precompile option only              */#define SQL_GRANT_USER_OPT     9       /* Option for granting privileges to   */                                       /* a user - bind option only           */#define SQL_GRANT_GROUP_OPT    10      /* Option for granting privileges to   */                                       /* a group - bind option only          */#define SQL_CNULREQD_OPT       11      /* Option for adding NULLs to strings  */                                       /* - bind option only                  */#define SQL_GENERIC_OPT        12      /* Generic option for DRDA servers -   */                                       /* bind option only                    */#define SQL_DEFERRED_PREPARE_OPT 15    /* Option for Deferred Prepare -       */                                       /* precompile option only              */#define SQL_CONNECT_OPT        16      /* Specifies whether one or multiple   */                                       /* connections are allowed             */                                       /* similtaneously within a unit of     */                                       /* work.                               */#define SQL_RULES_OPT          17      /* Specifies the set of rules used     */                                       /* for connection to multiple          */                                       /* databases within a single unit of   */                                       /* work                                */#define SQL_DISCONNECT_OPT     18      /* Specifies which of multiple         */                                       /* databases connected to will be      */                                       /* disconnected when a COMMIT or       */                                       /* ROLLBACK is issued.                 */#define SQL_SYNCPOINT_OPT      19      /* Specifies what syncpoint option     */                                       /* (for example one phase or two       */                                       /* phase) will be used                 */#define SQL_BIND_OPT           20      /* Option to create a bind file -      */                                       /* precompile option only              */#define SQL_SAA_OPT            21      /* Option specifies SAA/non-SAA        */                                       /* compatibility - FORTRAN precompile  */                                       /* option only                         */#define SQL_PKG_OPT            23      /* Option to create a package with a   */                                       /* specific name - precompile option   */                                       /* only                                */#define SQL_OPTIM_OPT          24      /* Option to specify SQLDA             */                                       /* optimization - precompile option    */                                       /* only                                */#define SQL_SYNTAX_OPT         25      /* Option to not create a package or   */                                       /* bind file - precompile option only  */#define SQL_SQLERROR_OPT       SQL_SYNTAX_OPT /* Indicates under what         */                                       /* conditions a package will be be     */                                       /* created - bind and precompile       */                                       /* option                              */#define SQL_LINEMACRO_OPT      26      /* Option to suppress #line macro      */                                       /* generation in modified source file  */                                       /* - C precompile option only          */#define SQL_NO_OPT             27      /* 'No-op' option - ignore this entry  */                                       /* in the option array - bind,         */                                       /* precompile and rebind option        */#define SQL_LEVEL_OPT          30      /* Level of a module - precompile      */                                       /* option only                         */#define SQL_COLLECTION_OPT     31      /* Package collection identifier -     */                                       /* precompile option only              */#define SQL_VERSION_OPT        32      /* Package version identifier -        */                                       /* precompile option only              */#define SQL_OWNER_OPT          33      /* Package owner authorization         */                                       /* identifier - bind and precompile    */                                       /* option                              */#define SQL_SCHEMA_OPT         SQL_OWNER_OPT /* Synonym for owner - bind and  */                                       /* precompile option                   */#define SQL_QUALIFIER_OPT      34      /* Authorization identifier that is    */                                       /* to be used as a qualifier for       */                                       /* unqualified objects - bind and      */                                       /* precompile option                   */#define SQL_CATALOG_OPT        SQL_QUALIFIER_OPT /* Synonym for qualifier -   */                                       /* bind and precompile option          */#define SQL_TEXT_OPT           35      /* Package description - bind and      */                                       /* precompile option                   */#define SQL_VALIDATE_OPT       40      /* Indicates when object validation    */                                       /* occurs - bind and precompile        */                                       /* option                              */#define SQL_EXPLAIN_OPT        41      /* Determines whether information      */                                       /* will be produced about how the SQL  */                                       /* statements in a package will be     */                                       /* executed - bind and precompile      */                                       /* option                              */#define SQL_ACTION_OPT         42      /* Indicates whether a package is to   */                                       /* be added or replaced - bind and     */                                       /* precompile option                   */#define SQL_REPLVER_OPT        44      /* Replaces a specific version of a    */                                       /* package - bind and precompile       */                                       /* option                              */#define SQL_RETAIN_OPT         45      /* Indicates whether EXECUTE           */                                       /* authorities are to be preserved     */                                       /* when a package is replaced - bind   */                                       /* and precompile option               */#define SQL_RELEASE_OPT        46      /* Indicates whether resources are     */                                       /* released at each COMMIT or when     */                                       /* the application  terminates - bind  */                                       /* and precompile option               */#define SQL_DEGREE_OPT         47      /* Specifies whether or not the query  */                                       /* is executed using I/O parallelism   */                                       /*  bind and precompile option         */#define SQL_STRDEL_OPT         50      /* Designates whether an apostrophe    */                                       /* or quote will be used as a string   */                                       /* delimiter - bind and precompile     */                                       /* option                              */#define SQL_DECDEL_OPT         51      /* Designates whether a period or      */                                       /* comma will be used as a decimal     */                                       /* point indicator - bind and          */                                       /* precompile option                   */#define SQL_CHARSUB_OPT        55      /* Designates default character        */                                       /* subtype that is to be used for      */                                       /* column definitions in the CREATE    */                                       /* and ALTER TABLE SQL statements -    */                                       /* bind and precompile option          */#define SQL_CCSIDS_OPT         56      /* Designates what CCSID will be used  */                                       /* for single byte characters for      */                                       /* character column definitions        */                                       /* without a specific CCSID clause in  */                                       /* the CREATE and ALTER TABLE SQL      */                                       /* statements - bind and precompile    */                                       /* option                              */#define SQL_CCSIDM_OPT         57      /* Designates what CCSID will be used  */                                       /* for mixed byte characters for       */                                       /* character column definitions        */                                       /* without a specific CCSID clause in  */                                       /* the CREATE and ALTER TABLE SQL      */                                       /* statements - bind and precompile    */                                       /* option                              */#define SQL_CCSIDG_OPT         58      /* Designates what CCSID will be used  */                                       /* for double byte characters for      */                                       /* character column definitions        */                                       /* without a specific CCSID clause in  */                                       /* the CREATE and ALTER TABLE SQL      */                                       /* statements - bind and precompile    */                                       /* option                              */#define SQL_DEC_OPT            59      /* Specifies maximum precision to be   */                                       /* used in decimal arithmetic          */                                       /* operations - bind and precompile    */                                       /* option                              */#define SQL_WCHAR_OPT          60      /* Specifies handling of graphic       */                                       /* vars. - precompile only             */#define SQL_DYNAMICRULES_OPT   61      /* Specifies which authorization       */                                       /* identifier to use when dynamic SQL  */                                       /* in a package is executed - bind     */                                       /* and precompile option               */#define SQL_INSERT_OPT         62      /* Buffers VALUE inserts - bind and    */                                       /* precompile option for DB2/PE        */                                       /* servers only                        */#define SQL_EXPLSNAP_OPT       63      /* Capture explain snapshot - bind     */                                       /* and precompile option               */#define SQL_FUNCTION_PATH      64      /* Path for user-defined function      */                                       /* resolution - bind and precompile    */                                       /* option                              */#define SQL_SQLWARN_OPT        65      /* Disable prepare-time SQL warnings   */                                       /*  bind and precompile option         */#define SQL_QUERYOPT_OPT       66      /* Set query optimization class -      */                                       /* bind and precompile option          */#define SQL_TARGET_OPT         67      /* Target compiler - precompile        */                                       /* option                              */#define SQL_PREP_OUTPUT_OPT    68      /* Name of precompiler output file -   */                                       /* precompile option                   */#define SQL_PREPROCESSOR_OPT   69      /* Preprocessor command - precompile   */                                       /* option only                         */#define SQL_RESOLVE_OPT        70      /* Indicates whether function and      */                                       /* type resolution should or should    */                                       /* not use conservative binding        */                                       /* semantics - rebind option only      */#define SQL_CLIPKG_OPT         71      /* CLIPKG option - bind option only    */#define SQL_FEDERATED_OPT      72      /* FEDERATED option - bind and         */                                       /* precompile option                   */#define SQL_TRANSFORMGROUP_OPT 73      /* Transform Group - precompile and    */                                       /* bind option                         */#define SQL_LONGERROR_OPT      74      /* Option to treat long host variable  */                                       /* declarations as errors -            */                                       /* precompile option only              */#define SQL_DECTYPE_OPT        75      /* DECTYPE Option to convert decimals  */                                       /*  precompile option only             */#define SQL_NUM_OPTS           75      /* # of PREP/BIND/REBIND options       *//* Values used for option[n].val when option[n].type is                       *//* SQL_DATETIME_OPT. These can also be used for the date/time                 *//* format parameter of sqlabind().                                            */#define SQL_DATETIME_DEF       48      /* FORMAT = Default for Country Code   */#define SQL_DATETIME_USA       49      /* FORMAT = USA                        */#define SQL_DATETIME_EUR       50      /* FORMAT = EUR                        */#define SQL_DATETIME_ISO       51      /* FORMAT = ISO                        */#define SQL_DATETIME_JIS       52      /* FORMAT = JIS                        */#define SQL_DATETIME_LOC       53      /* FORMAT = LOCAL                      *//* The following constants are here for backwards compatbility with earlier   *//* releases.                                                                  */#define SQL_FRMT_OPT           SQL_DATETIME_OPT#define SQL_FMT_0              SQL_DATETIME_DEF

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -