ODBC driver.
More...Functions | |
| SQLSMALLINT | odbc_server_to_sql_type (int col_type, int col_size) |
| Convert type from database to ODBC. | |
| int | odbc_c_to_server_type (int c_type) |
| Pass this an SQL_C_* type and get a SYB* type which most closely corresponds to the SQL_C_* type. | |
| SQLRETURN | odbc_set_string (SQLPOINTER buffer, SQLSMALLINT cbBuffer, SQLSMALLINT FAR *pcbBuffer, const char *s, int len) |
| Copy a string to client setting size according to ODBC convenction. | |
| void | odbc_rdbms_version (TDSSOCKET *tds, char *pversion_string) |
| Returns the version of the RDBMS in the ODBC format. | |
| SQLINTEGER | odbc_get_param_len (TDSSOCKET *tds, struct _drecord *drec_apd, struct _drecord *drec_ipd) |
| Return length of parameter from parameter information. | |
| SQLRETURN | odbc_set_concise_sql_type (SQLSMALLINT concise_type, struct _drecord *drec, int check_only) |
| Set concise type and all cascading field. | |
| SQLRETURN | odbc_set_concise_c_type (SQLSMALLINT concise_type, struct _drecord *drec, int check_only) |
| Set concise type and all cascading field. | |
ODBC driver.
|
|
Value: TYPE_NORMAL(SQL_BIT) \
TYPE_NORMAL(SQL_SMALLINT) \
TYPE_NORMAL(SQL_TINYINT) \
TYPE_NORMAL(SQL_INTEGER) \
TYPE_NORMAL(SQL_BIGINT) \
\
TYPE_NORMAL(SQL_GUID) \
\
TYPE_NORMAL(SQL_BINARY) \
TYPE_NORMAL(SQL_VARBINARY) \
TYPE_NORMAL(SQL_LONGVARBINARY) \
\
TYPE_NORMAL(SQL_CHAR) \
TYPE_NORMAL(SQL_VARCHAR) \
TYPE_NORMAL(SQL_LONGVARCHAR) \
\
TYPE_NORMAL(SQL_DECIMAL) \
TYPE_NORMAL(SQL_NUMERIC) \
\
TYPE_NORMAL(SQL_FLOAT) \
TYPE_NORMAL(SQL_REAL) \
TYPE_NORMAL(SQL_DOUBLE)\
\
TYPE_VERBOSE_START(SQL_DATETIME) \
TYPE_VERBOSE_DATE(SQL_DATETIME, SQL_CODE_TIMESTAMP, SQL_TYPE_TIMESTAMP, SQL_TIMESTAMP) \
TYPE_VERBOSE_END(SQL_DATETIME) |
|
||||||||||||||||
|
Set concise type and all cascading field.
|
|
||||||||||||||||
|
Set concise type and all cascading field.
|
|
||||||||||||||||||||||||
|
Copy a string to client setting size according to ODBC convenction.
|
1.2.18