I created a sql database using Java, noob, when it comes to sql, but to configure and configure, I have a table that has two columns, the first of which is a large integer that grows, the second I tried to define it as char , varchar and binary, but im still not getting the desired function, let's say I try to store a 0a hexadecimal number in a char column, I get an error, I added 0x to the beginning of a, it looks like it stores, but when I print the contents it is empty or in some cases I get characters like '/' and and '?', I also tried to use sql explorer, and it gives me the same result as a table scan,
My problem is that I need to save an eight character hexadecimal string like eb8d4ee6.
Can someone please tell me how this can be done?
source share