Re: Storing hexadecimal value possible in MyISAM tables?
Posted by:
Fred Kline
Date: December 22, 2005 10:27AM
I currently have a table with TINYBLOB and a LONGBLOB columns.
I stuff the hex values in an UPDATE where I set the val=0x1231bc. this causes the string to be converted to binary. NOTE. Don't use quotes, or it will be saved as a string.
To extract: use SELECT CONV(HEX(val),16,10) FROM... to return a string containing the number.
Subject
Views
Written By
Posted
5268
October 25, 2005 08:56PM
2752
October 26, 2005 02:42AM
Re: Storing hexadecimal value possible in MyISAM tables?
2578
December 22, 2005 10:27AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.