101 lines
9.1 KiB
Plaintext
101 lines
9.1 KiB
Plaintext
select trim('foo');
|
|
select trim('foo' from 'foobarfoo');
|
|
select trim(trailing 'foo' from 'foobarfoo');
|
|
select trim(leading 'foo' from 'foobarfoo');
|
|
select trim(both 'foo' from 'foobarfoo');
|
|
select trim(' blank ');
|
|
select trim(both ' ' from ' bla nk ');
|
|
select trim(leading ' ' from ' bla nk');
|
|
select trim(trailing ' ' from ' bla nk ');
|
|
select trim(' ' from ' blank ');
|
|
select TRIM(BOTH 'å' FROM 'aæaå');
|
|
select trim(' 中文测试 ');
|
|
select trim(both ' ' from ' 中文测试 ');
|
|
select trim(leading ' ' from ' 中文测试');
|
|
select trim(trailing ' ' from ' 中文测试 ');
|
|
select trim(' ' from ' 中文测试 ');
|
|
select trim('一' from '一二中文测试一');
|
|
select trim(both '一' from '一二中文测试一');
|
|
select trim(leading '一' from '一二中文测试一');
|
|
select trim(trailing '一' from '一二中文测试一');
|
|
select trim(' 中文andEnglish测试Test ');
|
|
select trim(both ' ' from ' 中文andEnglish测试Test ');
|
|
select trim(leading ' ' from ' 中文andEnglish测试Test');
|
|
select trim(trailing ' ' from ' 中文andEnglish测试Test ');
|
|
select trim('空格' from '空格中文andEngTes空格空格');
|
|
select trim(both '空格' from '空格中文andEngTes空格空格');
|
|
select trim(leading '空格' from '空格中文andEngTes空格空格');
|
|
select trim(trailing '空格' from '空格中文andEngTes空格空格');
|
|
select trim('blank' from 'blankblank中文andEnglish测试Tesblankblankblank');
|
|
select trim(both 'blank' from 'blankblank中文andEnglish测试Tesblankblankblank');
|
|
select trim(leading 'blank' from 'blankblank中文andEnglish测试Tesblankblankblank');
|
|
select trim(trailing 'blank' from 'blankblank中文andEnglish测试Tesblankblankblank');
|
|
select trim('空格blank' from '空格blank空格中Tes空格blank空');
|
|
select trim(both '空格blank' from '空格blank空格中Tes空格blank空');
|
|
select trim(leading '空格blank' from '空格blank空格中Tes空格blank空');
|
|
select trim(trailing '空格blank' from '空格blank空格中Tes空格blank空');
|
|
select trim(nch2 from nch1) from ts_4893.meters where position(nch2 in nch1) != 0 order by ts limit 5;
|
|
select trim(both nch2 from nch1) from ts_4893.meters where position(nch2 in nch1) != 0 order by ts limit 5;
|
|
select trim(leading nch2 from nch1) from ts_4893.meters where position(nch2 in nch1) != 0 order by ts limit 5;
|
|
select trim(trailing nch2 from nch1) from ts_4893.meters where position(nch2 in nch1) != 0 order by ts limit 5;
|
|
select trim(nch2 from nch1) from ts_4893.meters where position(nch2 in nch1) = 0 order by ts limit 5;
|
|
select trim(both nch2 from nch1) from ts_4893.meters where position(nch2 in nch1) = 0 order by ts limit 5;
|
|
select trim(leading nch2 from nch1) from ts_4893.meters where position(nch2 in nch1) = 0 order by ts limit 5;
|
|
select trim(trailing nch2 from nch1) from ts_4893.meters where position(nch2 in nch1) = 0 order by ts limit 5;
|
|
select trim(var2 from nch1) from ts_4893.meters where position(var2 in nch1) != 0 order by ts limit 5;
|
|
select trim(both var2 from nch1) from ts_4893.meters where position(var2 in nch1) != 0 order by ts limit 5;
|
|
select trim(leading var2 from nch1) from ts_4893.meters where position(var2 in nch1) != 0 order by ts limit 5;
|
|
select trim(trailing var2 from nch1) from ts_4893.meters where position(var2 in nch1) != 0 order by ts limit 5;
|
|
select trim(var2 from nch1) from ts_4893.meters where position(var2 in nch1) = 0 order by ts limit 5;
|
|
select trim(both var2 from nch1) from ts_4893.meters where position(var2 in nch1) = 0 order by ts limit 5;
|
|
select trim(leading var2 from nch1) from ts_4893.meters where position(var2 in nch1) = 0 order by ts limit 5;
|
|
select trim(trailing var2 from nch1) from ts_4893.meters where position(var2 in nch1) = 0 order by ts limit 5;
|
|
select trim(nch2 from var1) from ts_4893.meters where position(nch2 in var1) != 0 order by ts limit 5;
|
|
select trim(both nch2 from var1) from ts_4893.meters where position(nch2 in var1) != 0 order by ts limit 5;
|
|
select trim(leading nch2 from var1) from ts_4893.meters where position(nch2 in var1) != 0 order by ts limit 5;
|
|
select trim(trailing nch2 from var1) from ts_4893.meters where position(nch2 in var1) != 0 order by ts limit 5;
|
|
select trim(nch2 from var1) from ts_4893.meters where position(nch2 in var1) = 0 order by ts limit 5;
|
|
select trim(both nch2 from var1) from ts_4893.meters where position(nch2 in var1) = 0 order by ts limit 5;
|
|
select trim(leading nch2 from var1) from ts_4893.meters where position(nch2 in var1) = 0 order by ts limit 5;
|
|
select trim(trailing nch2 from var1) from ts_4893.meters where position(nch2 in var1) = 0 order by ts limit 5;
|
|
select trim(var2 from var1) from ts_4893.meters where position(var2 in var1) != 0 order by ts limit 5;
|
|
select trim(both var2 from var1) from ts_4893.meters where position(var2 in var1) != 0 order by ts limit 5;
|
|
select trim(leading var2 from var1) from ts_4893.meters where position(var2 in var1) != 0 order by ts limit 5;
|
|
select trim(trailing var2 from var1) from ts_4893.meters where position(var2 in var1) != 0 order by ts limit 5;
|
|
select trim(var2 from var1) from ts_4893.meters where position(var2 in var1) = 0 order by ts limit 5;
|
|
select trim(both var2 from var1) from ts_4893.meters where position(var2 in var1) = 0 order by ts limit 5;
|
|
select trim(leading var2 from var1) from ts_4893.meters where position(var2 in var1) = 0 order by ts limit 5;
|
|
select trim(trailing var2 from var1) from ts_4893.meters where position(var2 in var1) = 0 order by ts limit 5;
|
|
select trim('一' from nch1) from ts_4893.meters where position('一' in nch1) != 0 order by ts limit 5;
|
|
select trim(both '一' from nch1) from ts_4893.meters where position('一' in nch1) != 0 order by ts limit 5;
|
|
select trim(leading '一' from nch1) from ts_4893.meters where position('一' in nch1) != 0 order by ts limit 5;
|
|
select trim(trailing '一' from nch1) from ts_4893.meters where position('一' in nch1) != 0 order by ts limit 5;
|
|
select trim('一' from nch1) from ts_4893.meters where position('一' in nch1) = 0 order by ts limit 5;
|
|
select trim(both '一' from nch1) from ts_4893.meters where position('一' in nch1) = 0 order by ts limit 5;
|
|
select trim(leading '一' from nch1) from ts_4893.meters where position('一' in nch1) = 0 order by ts limit 5;
|
|
select trim(trailing '一' from nch1) from ts_4893.meters where position('一' in nch1) = 0 order by ts limit 5;
|
|
select trim('一' from var1) from ts_4893.meters where position('一' in var1) != 0 order by ts limit 5;
|
|
select trim(both '一' from var1) from ts_4893.meters where position('一' in var1) != 0 order by ts limit 5;
|
|
select trim(leading '一' from var1) from ts_4893.meters where position('一' in var1) != 0 order by ts limit 5;
|
|
select trim(trailing '一' from var1) from ts_4893.meters where position('一' in var1) != 0 order by ts limit 5;
|
|
select trim('一' from var1) from ts_4893.meters where position('一' in var1) = 0 order by ts limit 5;
|
|
select trim(both '一' from var1) from ts_4893.meters where position('一' in var1) = 0 order by ts limit 5;
|
|
select trim(leading '一' from var1) from ts_4893.meters where position('一' in var1) = 0 order by ts limit 5;
|
|
select trim(trailing '一' from var1) from ts_4893.meters where position('一' in var1) = 0 order by ts limit 5;
|
|
select trim(nch2 from '三abbcfp三a') from ts_4893.meters where position(nch2 in '三abbcfp三a') != 0 order by ts limit 5;
|
|
select trim(both nch2 from '三abbcfp三a') from ts_4893.meters where position(nch2 in '三abbcfp三a') != 0 order by ts limit 5;
|
|
select trim(leading nch2 from '三abbcfp三a') from ts_4893.meters where position(nch2 in '三abbcfp三a') != 0 order by ts limit 5;
|
|
select trim(trailing nch2 from '三abbcfp三a') from ts_4893.meters where position(nch2 in '三abbcfp三a') != 0 order by ts limit 5;
|
|
select trim(nch2 from '三abbcfp三a') from ts_4893.meters where position(nch2 in '三abbcfp三a') = 0 order by ts limit 5;
|
|
select trim(both nch2 from '三abbcfp三a') from ts_4893.meters where position(nch2 in '三abbcfp三a') = 0 order by ts limit 5;
|
|
select trim(leading nch2 from '三abbcfp三a') from ts_4893.meters where position(nch2 in '三abbcfp三a') = 0 order by ts limit 5;
|
|
select trim(trailing nch2 from '三abbcfp三a') from ts_4893.meters where position(nch2 in '三abbcfp三a') = 0 order by ts limit 5;
|
|
select trim(var2 from '三abbcfp三a') from ts_4893.meters where position(var2 in '三abbcfp三a') != 0 order by ts limit 5;
|
|
select trim(both var2 from '三abbcfp三a') from ts_4893.meters where position(var2 in '三abbcfp三a') != 0 order by ts limit 5;
|
|
select trim(leading var2 from '三abbcfp三a') from ts_4893.meters where position(var2 in '三abbcfp三a') != 0 order by ts limit 5;
|
|
select trim(trailing var2 from '三abbcfp三a') from ts_4893.meters where position(var2 in '三abbcfp三a') != 0 order by ts limit 5;
|
|
select trim(var2 from '三abbcfp三a') from ts_4893.meters where position(var2 in '三abbcfp三a') = 0 order by ts limit 5;
|
|
select trim(both var2 from '三abbcfp三a') from ts_4893.meters where position(var2 in '三abbcfp三a') = 0 order by ts limit 5;
|
|
select trim(leading var2 from '三abbcfp三a') from ts_4893.meters where position(var2 in '三abbcfp三a') = 0 order by ts limit 5;
|
|
select trim(trailing var2 from '三abbcfp三a') from ts_4893.meters where position(var2 in '三abbcfp三a') = 0 order by ts limit 5;
|