srv_willconvert

Extended Stored Procedure Programming

Extended Stored Procedure Programming

srv_willconvert

Determines whether a specific data type conversion is available within the ODS Library.

Syntax

BOOL srv_willconvert ( int srctype,
int desttype );

Arguments

srctype

Indicates the data type of the data to be converted. This parameter can be any of the Open Data Services data types.

desttype

Indicates the data type to which the source data is converted. This parameter can be any of the Open Data Services data types.

Returns

TRUE if the data type conversion is supported; FALSE if the data type conversion is not supported.

Remarks

For a description of each data type and Open Data Services data type conversions, see Data Types.

See Also

srv_convert