[freetds] Convert Hexadecimal To String

Velichko Yuriy velichko.yuriy at gmail.com
Tue Sep 24 13:25:31 EDT 2013


Hello!

I use method dbdata() to get data returned by dbsqlexec().
To fetch binary data I use dbconvert() to convert data into  SYBCHAR.
This method gives the hexadecimal string.

Can you suggest me how to convert this string to character string?

For example MySQL client has build-in method for this purpose:
mysql_hex_string();

freetds (dblib) has something similar?

Thanks!

-- 
Best Regards!


More information about the FreeTDS mailing list