zoukankan      html  css  js  c++  java
  • C and SQL data types for ODBC and CLI

    C and SQL data types for ODBC and CLI

     

     

    This topic lists the C and SQL data types for ODBC and CLI applications.

    C data types for ODBC applications

    You can pass the following C data types when you bind result set columns and parameters from ODBC applications.
    SQL_C_DEFAULT
    SQL_C_CHAR
    SQL_C_LONG
    SQL_C_SLONG
    SQL_C_ULONG
    SQL_C_SHORT
    SQL_C_SSHORT
    SQL_C_USHORT
    SQL_C_FLOAT
    SQL_C_DOUBLE
    SQL_C_BINARY
    SQL_C_NUMERIC

    C data types for CLI applications

    You can pass the following data type values when you bind result set columns and parameters from CLI applications.
    SQL_DEFAULT
    SQL_CHAR
    SQL_INTEGER
    SQL_SMALLINT
    SQL_FLOAT
    SQL_REAL
    SQL_DOUBLE

    SQL data types for ODBC and CLI applications

    You can pass the following SQL data type values when you bind result set columns and parameters from ODBC and CLI applications.
    SQL_CHAR
    SQL_VARCHAR
    SQL_LONGVARCHAR
    SQL_INTEGER
    SQL_SMALLINT
    SQL_FLOAT
    SQL_REAL
    SQL_DOUBLE
    SQL_DECIMAL
    SQL_TYPE_DATE
    SQL_TYPE_TIME
    SQL_TYPE_TIMESTAMP
    SQL_TYPE_DATE
    SQL_BINARY
    SQL_VARBINARY
    SQL_LONGVARBINARY

    In the Win32 environment, the ODBC 3.x driver manager is required to use the ODBC 3.51 driver. This version of the driver manager automatically supports both 3.x applications and older, pre-3.x applications. Calls to deprecated APIs by older applications are automatically re-mapped to the 3.x APIs.

  • 相关阅读:
    Node.js 究竟是什么?
    天津自考学习之“六步看书法”
    C专家编程cdecl
    Linux系统启动流程及安装命令行版本
    Java学习路线
    GCC内置宏
    GMP
    二级存储构建倒排索引
    余弦距离与欧式距离
    af
  • 原文地址:https://www.cnblogs.com/sthv/p/5959670.html
Copyright © 2011-2022 走看看