📄 ctype_utf8.result
字号:
drop table if exists t1,t2;set names utf8;select left(_utf8 0xD0B0D0B1D0B2,1);left(_utf8 0xD0B0D0B1D0B2,1)邪select right(_utf8 0xD0B0D0B2D0B2,1);right(_utf8 0xD0B0D0B2D0B2,1)胁select locate('he','hello');locate('he','hello')1select locate('he','hello',2);locate('he','hello',2)0select locate('lo','hello',2);locate('lo','hello',2)4select locate('HE','hello');locate('HE','hello')1select locate('HE','hello',2);locate('HE','hello',2)0select locate('LO','hello',2);locate('LO','hello',2)4select locate('HE','hello' collate utf8_bin);locate('HE','hello' collate utf8_bin)0select locate('HE','hello' collate utf8_bin,2);locate('HE','hello' collate utf8_bin,2)0select locate('LO','hello' collate utf8_bin,2);locate('LO','hello' collate utf8_bin,2)0select locate(_utf8 0xD0B1, _utf8 0xD0B0D0B1D0B2);locate(_utf8 0xD0B1, _utf8 0xD0B0D0B1D0B2)2select locate(_utf8 0xD091, _utf8 0xD0B0D0B1D0B2);locate(_utf8 0xD091, _utf8 0xD0B0D0B1D0B2)2select locate(_utf8 0xD0B1, _utf8 0xD0B0D091D0B2);locate(_utf8 0xD0B1, _utf8 0xD0B0D091D0B2)2select locate(_utf8 0xD091, _utf8 0xD0B0D0B1D0B2 collate utf8_bin);locate(_utf8 0xD091, _utf8 0xD0B0D0B1D0B2 collate utf8_bin)0select locate(_utf8 0xD0B1, _utf8 0xD0B0D091D0B2 collate utf8_bin);locate(_utf8 0xD0B1, _utf8 0xD0B0D091D0B2 collate utf8_bin)0select length(_utf8 0xD0B1), bit_length(_utf8 0xD0B1), char_length(_utf8 0xD0B1);length(_utf8 0xD0B1) bit_length(_utf8 0xD0B1) char_length(_utf8 0xD0B1)2 16 1select 'a' like 'a';'a' like 'a'1select 'A' like 'a';'A' like 'a'1select 'A' like 'a' collate utf8_bin;'A' like 'a' collate utf8_bin0select _utf8 0xD0B0D0B1D0B2 like concat(_utf8'%',_utf8 0xD0B1,_utf8 '%');_utf8 0xD0B0D0B1D0B2 like concat(_utf8'%',_utf8 0xD0B1,_utf8 '%')1select convert(_latin1'G黱ter Andr
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -