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

📄 sql.h

📁 能够连接各种数据库的API
💻 H
📖 第 1 页 / 共 5 页
字号:
#define SQL_FMT_1              SQL_DATETIME_USA#define SQL_FMT_2              SQL_DATETIME_EUR#define SQL_FMT_3              SQL_DATETIME_ISO#define SQL_FMT_4              SQL_DATETIME_JIS#define SQL_FMT_5              SQL_DATETIME_LOC/* Values used for option[n].val when option[n].type is SQL_STANDARDS_OPT.    */#define SQL_SAA_COMP           0       /* SAA Level 1 Database CPI            */#define SQL_MIA_COMP           1       /* MIA                                 */#define SQL_SQL92E_COMP        2       /* SQL92 Entry                         *//* Values used for option[n].val when option[n].type is SQL_ISO_OPT           */#define SQL_REP_READ           0       /* Repeatable read level               */#define SQL_CURSOR_STAB        1       /* Cursor stability level              */#define SQL_UNCOM_READ         2       /* Uncommitted read level              */#define SQL_READ_STAB          3       /* Read stability level                */#define SQL_NO_COMMIT          4       /* No Commit level      l              *//* Values used for option[n].val when option[n].type is SQL_BLOCK_OPT         */#define SQL_BL_UNAMBIG         0       /* Block Unambiguous cursors           */#define SQL_BL_ALL             1       /* Block All cursors                   */#define SQL_NO_BL              2       /* Block No cursors                    *//* Values used for option[n].val when option[n].type is SQL_FLAG_OPT          */#define SQL_MVSDB2V23_SYNTAX   4       /* Flagger check against MVS           */#define SQL_MVSDB2V31_SYNTAX   5       /* DB2 V2.3, V3.1 or V4.1 SQL          */#define SQL_MVSDB2V41_SYNTAX   6       /* syntax                              */#define SQL_SQL92E_SYNTAX      7       /* FIPS flagger SQL92E syntax          *//* Values used for option[n].val when option[n].type is SQL_CNULREQD_OPT      */#define SQL_CNULREQD_NO        0       /* C NULL value not required           */#define SQL_CNULREQD_YES       1       /* C NULL value required               *//* Maximum sqlchar length for option[n].val when option[n].type is SQL        *//* GENERIC_OPT                                                                */#define SQL_MAX_GENERIC        1023/* Values used for option[n].val when option[n].type is SQL_SAA_OPT.          */#define SQL_SAA_NO             0       /* SQLCA definition not SAA            */                                       /* compatible                          */#define SQL_SAA_YES            1       /* SQLCA definition is SAA compatible  *//* Values used for option[n].val when option[n].type is SQL_OPTIM_OPT.        */#define SQL_DONT_OPTIMIZE      0       /* Do not optimize SQLDA               */                                       /* initialization                      */#define SQL_OPTIMIZE           1       /* Optimize SQLDA initialization       *//* Values used for option[n].val when option[n].type is SQL_SYNTAX_OPT.       */#define SQL_NO_SYNTAX_CHECK    0       /* Create a package and/or a bind      */                                       /* file                                */#define SQL_SYNTAX_CHECK       1       /* Do not create a package or bind     */                                       /* file                                *//* Values used for option[n].val when option[n].type is SQL_LINEMACRO_OPT.    */#define SQL_NO_LINE_MACROS     0       /* Do not generate #line macros in     */                                       /* modified source file                */#define SQL_LINE_MACROS        1       /* Generate #line macros in modified   */                                       /* source file                         *//* Values used for option[n].val when option[n].type is SQL_WCHAR_OPT.        */#define SQL_WCHAR_NOCONVERT    0       /* graphic variable not converted      */#define SQL_WCHAR_CONVERT      1       /* graphic variable converted          *//* Maximum sqlchar length for option[n].val when option[n].type is SQL_LEVEL  *//* OPT                                                                        */#define SQL_MAX_LEVEL          8/* Values used for option[n].val when option[n].type is SQL_CONNECT_OPT       */#define SQL_DEFERRED_PREPARE_YES 1     /* Dynamic SQL statements will be      */                                       /* chained.                            */#define SQL_DEFERRED_PREPARE_NO 2      /* Dynamic SQL statements will not be  */                                       /* chained.                            */#define SQL_DEFERRED_PREPARE_ALL 3     /* Dynamic SQL statements will be      */                                       /* chained in all cases.  The          */                                       /* application must not allocate host  */                                       /* vars a FETCH SQLDA until after the  */                                       /* OPEN statement for the cursor.      *//* Maximum sqlchar length for option[n].val when option[n].type is SQL        *//* COLLECTION_OPT                                                             */#define SQL_MAX_COLLECTION     30/* Maximum sqlchar length for option[n].val when option[n].type is SQL        *//* VERSION_OPT                                                                */#define SQL_MAX_VERSION        254/* Maximum sqlchar length for option[n].val when option[n].type is SQL_OWNER  *//* OPT                                                                        */#define SQL_MAX_OWNER          30/* Maximum sqlchar length for option[n].val when option[n].type is SQL        *//* SCHEMA_OPT                                                                 */#define SQL_MAX_SCHEMA         SQL_MAX_OWNER/* Maximum sqlchar length for option[n].val when option[n].type is SQL        *//* QUALIFIER_OPT                                                              */#define SQL_MAX_QUALIFIER      30/* Maximum sqlchar length for option[n].val when option[n].type is SQL        *//* CATALOG_OPT                                                                */#define SQL_MAX_CATALOG        SQL_MAX_QUALIFIER/* Maximum sqlchar length for option[n].val when option[n].type is SQL_TEXT   *//* OPT                                                                        */#define SQL_MAX_TEXT           255/* Maximum sqlchar length for option[n].val when option[n].type is SQL        *//* PREPROCESSOR_OPT                                                           */#define SQL_MAX_PREPROCESSOR   1024/* Maximum sqlchar length for option[n].val when option[n].type is SQL        *//* TRANSFORMGROUP_OPT                                                         */#define SQL_MAX_TRANSFORMGROUP 1024/* Values used for option[n].val when option[n].type is SQL_VALIDATE_OPT      */#define SQL_VALIDATE_BIND      0       /* Validate objects during BIND        */#define SQL_VALIDATE_RUN       1       /* Validate objects during execution   *//* Values used for option[n].val when option[n].type is SQL_EXPLAIN_OPT       */#define SQL_EXPLAIN_NO         0       /* No Explain output saved             */#define SQL_EXPLAIN_YES        1       /* Explain output saved                */#define SQL_EXPLAIN_ALL        2       /* Explain output saved for all        */                                       /* static and dynamic statements       *//* Values used for option[n].val when option[n].type is SQL_ACTION_OPT        */#define SQL_ACTION_ADD         0       /* Package is to be added              */#define SQL_ACTION_REPLACE     1       /* Package is to be replaced           *//* Max/Min value of CLIPKG for option[n].val when option[n].type is SQL       *//* CLIPKG_OPT                                                                 */#define SQL_MIN_CLIPKG         3#define SQL_MAX_CLIPKG         30/* Maximum sqlchar length for option[n].val when option[n].type is SQL        *//* REPLVER_OPT                                                                */#define SQL_MAX_REPLVER        254/* Values used for option[n].val when option[n].type is SQL_SQLERROR_OPT      */#define SQL_SQLERROR_NOPACKAGE SQL_NO_SYNTAX_CHECK /* Do not create a         */                                       /* package if errors are encountered   */#define SQL_SQLERROR_CHECK     SQL_SYNTAX_CHECK /* Do not create a package    */#define SQL_SQLERROR_CONTINUE  2       /* Create a package even if errors     */                                       /* are encountered                     *//* Values used for option[n].val when option[n].type is SQL_RETAIN_OPT        */#define SQL_RETAIN_NO          0       /* Do not preserve EXECUTE             */                                       /* authorities when a package is       */                                       /* replaced                            */#define SQL_RETAIN_YES         1       /* Preserve EXECUTE authorities when   */                                       /* a package is replaced               *//* Values used for option[n].val when option[n].type is SQL_RELEASE_OPT       */#define SQL_RELEASE_COMMIT     0       /* Release resources at COMMIT         */#define SQL_RELEASE_DEALLOCATE 1       /* Release resources when the program  */                                       /* terminates                          *//* Values used for option[n].val when option[n].type is SQL_STRDEL_OPT        */#define SQL_STRDEL_APOSTROPHE  0       /* Apostrophe string delimiter         */#define SQL_STRDEL_QUOTE       1       /* Quote string delimiter              *//* Values used for option[n].val when option[n].type is SQL_DECDEL_OPT        */#define SQL_DECDEL_PERIOD      0       /* Period is used as a decimal point   */                                       /* indicator in decimal and floating   */                                       /* point literals                      */#define SQL_DECDEL_COMMA       1       /* Comma is used as a decimal point    */                                       /* indicator in decimal and floating   */                                       /* point literals                      *//* Values used for option[n].val when option[n].type is SQL_CHARSUB_OPT       */#define SQL_CHARSUB_DEFAULT    0       /* Use the target system defined       */                                       /* default for all new character       */                                       /* columns for which an explicit       */                                       /* subtype is not specified            */#define SQL_CHARSUB_BIT        1       /* Use the BIT character subtype for   */                                       /* all new character columns for       */                                       /* which an explicit subtype is not    */                                       /* specified                           */#define SQL_CHARSUB_SBCS       2       /* Use the SBCS character subtype for  */                                       /* all new character columns for       */                                       /* which an explicit subtype is not    */                                       /* specified                           */#define SQL_CHARSUB_MIXED      3       /* Use the mixed character subtype     */                                       /* for all new character columns for   */                                       /* which an explicit subtype is not    */                                       /* specified                           *//* Values used for option[n].val when option[n].type is SQL_DEC_OPT           */#define SQL_DEC_15             15      /* 15 bit precision is used in         */                                       /* decimal arithmetic operations       */#define SQL_DEC_31             31      /* 31 bit precision is used in         */                                       /* decimal arithmetic operations       *//* Values used for option[n].val when option[n].type is SQL_DEGREE_OPT        */#define SQL_DEGREE_1           1       /* Prohibits parallel I/O operations   */#define SQL_DEGREE_ANY         0       /* Allows the target database system   */                                       /* to determine the degree of          */                                       /* parallel I/O operations             */#define SQL_MAX_DEGREE_VAL     32767   /* Maximum value                       *//* The next four option va

⌨️ 快捷键说明

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