ToString() datatype

All of the ToString() functions take an input data value and convert it to a string. The string is stored in a user-supplied data buffer with a specified max size. All data types except C8Bool require a conversion format.

To use the Sybase CEP default format, pass NULL as the format argument. You are responsible for supplying the buffer to save the output.

If conversion is successful, the function returns C8_TRUE. If conversion is unsuccessful, then the function returns C8_FALSE; the content of the output buffer is undefined; and the Sybase CEP Engine log will contain an error message. If the output buffer is too short, the output string is silently truncated and C8_FALSE is returned.