Nissim,
Wednesday, April 24, 2002, 9:30:36 PM, you wrote:
NL> What sql function can I use to examine blob in a table. I need to display
NL> part of the blob in hex values. Shouldn't the following sql command work :
NL> select hex(substring(col1,1,10)) from table tbl1;
Yes, you can use HEX() and SUBSTRING() functions, but your statement
doesn't work because wrong SELECT syntax ...
Correct sytnax is:
SELECT .... FROM <table_name>;
NL> Thanks
--
For technical support contracts, goto https://order.mysql.com/
This email is sponsored by Ensita.net http://www.ensita.net/
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Egor Egorov
/ /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED]
/_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.net
<___/ www.mysql.com
---------------------------------------------------------------------
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