CNXRawConvert(CONNXTypeName, ColumnName [[,Offset] [,Length] [,Precision] [,Scale] [,Codepage]])

Converts the specified char or binary expression using the supplied CONNX Data type, with an optional offset, length, codpage, precision and scale for those CONNX data type that required it.

 

Example:

select

    CNXRawConvert('PACKED Decimal -> Decimal', binarycol, 4, 3) ,

    CNXRawConvert('Text Date (YYYYMMDD)', stringvalue)

from trixie.dbo.test2