I am trying to convert an integer to binary. Here is my code
create table test
(test varbinary(8));
insert into test
select int_to_string(7, binary) as test;
Here is the error that I get:
ERROR [HY000] ERROR: A size must be specified for a varying binary attribute.