I have a table with a VARBINARY column. I need to insert a string such as \'4D2AFF\' which represents the hex values 0x4D, 0x2A and 0xFF respectively. How do I construct t
Or you can do even this:
INSERT INTO tbl (col) VALUES (X'4D2AFF')
See this for some more info.