C and SQL data types for ODBC and CLI

Posted 一一工作驿站

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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.

以上是关于C and SQL data types for ODBC and CLI的主要内容,如果未能解决你的问题,请参考以下文章

MemoryError: Unable to allocate 115. GiB for an array with shape (1122, 1122, 12288) and data type f

MemoryError: Unable to allocate 6.73 GiB for an array with shape (3000, 3, 448, 448) and data type

Data Struct and Data Type

JavaScript data types and data structures

Bert 嵌入层使用 BiLSTM 引发 `Type Error: unsupported operand type(s) for +: 'None Type' and 'int'`

为啥我收到 TypeError: unsupported operand type(s) for -: 'str' and 'int'