Convert hex string to number in mySQL -
i have column has value '11b3' in it. want write sql statement (in mysql) ands (&) value 0x1880 , returns result. have been unable treat string column hex number. grateful assistance.
this not work:
select szversion, hex(szversion), concat("0x",szversion) this functions desired (but doesn't pull database:
select 0x11bx & 0x1880
you can use unhex(str) change hex text , concatenate them.
Comments
Post a Comment