Main Page   Modules   Compound List   File List   Compound Members   File Members   Related Pages  

ODBC utility
[ODBC API]

Functions called within ODBC driver. More...

Functions

SQLSMALLINT odbc_tds_to_sql_type (int col_type, int col_size, int odbc_ver)
 Convert type from database to ODBC.

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.


Detailed Description

Functions called within ODBC driver.


Function Documentation

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.

Parameters:
buffer  client buffer
cbBuffer  client buffer size (in bytes)
pcbBuffer  pointer to SQLSMALLINT to hold string size
s  string to copy
len  len of string to copy. <0 null terminated


Generated on Sat Apr 5 23:17:42 2003 for FreeTDS API by doxygen1.2.18