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.

  • 相关阅读:
    Topo软件
    如何利用多核CPU来加速你的Linux命令 — awk, sed, bzip2, grep, wc等
    Web学习
    测试Web服务接口
    WebService
    记录几个博客
    Oracle日志性能查看
    设计模式
    hdu 1999 不可摸数
    parfor —— matlab 下的并行循环
  • 原文地址:https://www.cnblogs.com/sthv/p/5959670.html
Copyright © 2011-2022 走看看