>What Mysql function can I use to examine blob in a table. I need to >display part of the blob in hex values. Shouldn't the following sql >command work : >select hex(substring(col1,1,10)) from table tbl1;
HEX() converts numbers, not strings. There is no function in MySQL for what you want. --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php