Determines whether a specific datatype conversion is available within the ODS Library.
BOOL srv_willconvert (
int srctype,
int desttype );
where
TRUE if the datatype conversion is supported; FALSE if the datatype conversion is not supported.
The following table shows the datatype conversions that srv_willconvert checks for. The source datatypes are listed on the left, and the destination datatypes are listed across the top. For brevity, the prefix "srv" has been eliminated from each datatype. T (True) indicates that the conversion is allowed; F (False) indicates that the conversion is not allowed.
Conversion to and from all Open Data Services datatypes is supported, except for conversion from SRVDATETIME or SRVDATETIME4 to these datatypes, and from these datatypes to SRVDATETIME or SRVDATETIME4:
For a description of each datatype, see Datatypes.
This entry | For information about |
---|---|
srv_convert | Converting datatypes |