1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
|
select export_set(15, 1, 0);
select export_set(9, 3, '');
select export_set(11923, 1, 0, '', 16), bin(11923);
select export_set(5255, 'A', 'B', '-', 16);
select export_set('5', 1, 0, '-', 16);
select export_set('x5', 1, 0, '-', 16);
select export_set('', 1, 0, '-', 16);
select export_set(null, 1, 0, '-', 16);
select export_set(5, null, 0, '-', 16);
select export_set(5, 1, null, '-', 16);
select export_set(5, 1, 0, null, 16);
select export_set(5, 1, 0, '-', null);
|
|
export_set(15, 1, 0) |
varchar(127) BINARY |
1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 |
|
|
export_set(9, 3, '') |
varchar(127) BINARY |
3,,,3,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, |
|
|
export_set(11923, 1, 0, '', 16) | |
| bin(11923) |
varchar(64) BINARY | varchar(64) BINARY |
1100100101110100 | 10111010010011 |
|
|
|
export_set(5255, 'A', 'B', '-', 16) |
varchar(127) BINARY |
A-A-A-B-B-B-B-A-B-B-A-B-A-B-B-B |
|
|
export_set('5', 1, 0, '-', 16) |
varchar(127) BINARY |
1-0-1-0-0-0-0-0-0-0-0-0-0-0-0-0 |
|
|
export_set('x5', 1, 0, '-', 16) |
varchar(127) BINARY |
0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0 |
|
|
export_set('', 1, 0, '-', 16) |
varchar(127) BINARY |
0-0-0-0-0-0-0-0-0-0-0-0-0-0-0-0 |
|
|
export_set(null, 1, 0, '-', 16) |
varchar(127) BINARY |
NULL |
|
|
export_set(5, null, 0, '-', 16) |
varchar(127) BINARY |
NULL |
|
|
export_set(5, 1, null, '-', 16) |
varchar(127) BINARY |
NULL |
|
|
export_set(5, 1, 0, null, 16) |
varchar(64) BINARY |
NULL |
|
|
export_set(5, 1, 0, '-', null) |
varchar(127) BINARY |
NULL |
|
|
|