1
create table t1 (a int primary key, b varchar(111), unique index b_idx (b(5)));
2
insert into t1 values (1, "foobar"),(2,"barbarbar");
3
insert into t1 values (3, "barbarpub");
4
Got one of the listed errors
10
create table t2 (a int primary key, b varbinary(111), unique index b_idx (b(5)));
11
insert into t2 values (1, "foobar"),(2,"barbarbar");
12
insert into t2 values (3, "barbarpub");
13
Got one of the listed errors