dbwillconvert

Description

Determine whether a specific datatype conversion is available within DB-Library.

Syntax

DBBOOL dbwillconvert(srctype, desttype)
 
int      srctype;
int     desttype;

Parameters

srctype

The datatype of the data that is to be converted. This parameter can be any of the server datatypes, as listed in Table 2-30.

desttype

The datatype that the source data is to be converted into. This parameter can be any of the server datatypes, as listed in Table 2-30.

Returns

TRUE” if the datatype conversion is supported, “FALSE” if the conversion is not supported.

Usage

See also

dbaltbind, dbbind, dbconvert, dbconvert_ps, Types