mirror of
https://github.com/MariaDB/server.git
synced 2025-01-21 06:22:28 +01:00
77bc68f99d
Change mode to -rw-rw----
221 lines
9.8 KiB
Text
221 lines
9.8 KiB
Text
--source include/have_ucs2.inc
|
||
|
||
--disable_warnings
|
||
drop table if exists `£Ô£±`;
|
||
drop table if exists `£Ô£²`;
|
||
drop table if exists `£Ô£³`;
|
||
drop table if exists `£Ô£´`;
|
||
drop table if exists `£Ô£µ`;
|
||
drop table if exists `£Ô£¶`;
|
||
drop table if exists `£Ô£·`;
|
||
drop table if exists `£Ô£¸`;
|
||
drop table if exists `£Ô£¹`;
|
||
drop table if exists `£Ô£±£°`;
|
||
--enable_warnings
|
||
|
||
#
|
||
# Test TRIM() function with Japanese characters ucs2 encoding
|
||
#
|
||
|
||
SET NAMES ujis;
|
||
SET character_set_database = ucs2;
|
||
SET collation_connection = ucs2_general_ci;
|
||
|
||
CREATE TABLE `£Ô£±` (`£Ã£±` char(12), INDEX(`£Ã£±`)) DEFAULT CHARSET = ucs2 engine = innodb;
|
||
CREATE TABLE `£Ô£²` (`£Ã£±` char(12), INDEX(`£Ã£±`)) DEFAULT CHARSET = ucs2 engine = innodb;
|
||
CREATE TABLE `£Ô£³` (`£Ã£±` char(12), INDEX(`£Ã£±`)) DEFAULT CHARSET = ucs2 engine = innodb;
|
||
CREATE TABLE `£Ô£´` (`£Ã£±` char(12), INDEX(`£Ã£±`)) DEFAULT CHARSET = ucs2 engine = myisam;
|
||
CREATE TABLE `£Ô£µ` (`£Ã£±` char(12), INDEX(`£Ã£±`)) DEFAULT CHARSET = ucs2 engine = myisam;
|
||
CREATE TABLE `£Ô£¶` (`£Ã£±` char(12), INDEX(`£Ã£±`)) DEFAULT CHARSET = ucs2 engine = myisam;
|
||
CREATE TABLE `£Ô£·` (`£Ã£±` char(12), INDEX(`£Ã£±`)) DEFAULT CHARSET = ucs2 engine = heap;
|
||
CREATE TABLE `£Ô£¸` (`£Ã£±` char(12), INDEX(`£Ã£±`)) DEFAULT CHARSET = ucs2 engine = heap;
|
||
CREATE TABLE `£Ô£¹` (`£Ã£±` char(12), INDEX(`£Ã£±`)) DEFAULT CHARSET = ucs2 engine = heap;
|
||
CREATE TABLE `£Ô£±£°` (`£Ã£±` char(12), INDEX(`£Ã£±`)) DEFAULT CHARSET = ucs2 engine = bdb;
|
||
CREATE TABLE `£Ô£±£±` (`£Ã£±` char(12), INDEX(`£Ã£±`)) DEFAULT CHARSET = ucs2 engine = bdb;
|
||
CREATE TABLE `£Ô£±£²` (`£Ã£±` char(12), INDEX(`£Ã£±`)) DEFAULT CHARSET = ucs2 engine = bdb;
|
||
|
||
# Nothing to trim
|
||
INSERT INTO `£Ô£±` VALUES ('Ž±Ž²Ž³Ž´Žµ');
|
||
# Test data for TRIM(TRAILING [remstr] FROM str)
|
||
INSERT INTO `£Ô£±` VALUES ('Ž±Ž²Ž³Ž´ŽµŽ¶');
|
||
INSERT INTO `£Ô£±` VALUES ('Ž±Ž²Ž³Ž´ŽµŽ¶Ž¶');
|
||
INSERT INTO `£Ô£±` VALUES ('Ž±Ž²Ž³Ž´ŽµŽ¶Ž¶Ž¶');
|
||
# Test data for TRIM(LEADING [remstr] FROM str)
|
||
INSERT INTO `£Ô£±` VALUES ('Ž¶Ž±Ž²Ž³Ž´Žµ');
|
||
INSERT INTO `£Ô£±` VALUES ('Ž¶Ž¶Ž±Ž²Ž³Ž´Žµ');
|
||
INSERT INTO `£Ô£±` VALUES ('Ž¶Ž¶Ž¶Ž±Ž²Ž³Ž´Žµ');
|
||
# Test data for TRIM(BOTH [remstr] FROM str)
|
||
INSERT INTO `£Ô£±` VALUES ('Ž¶Ž¶Ž¶Ž±Ž²Ž³Ž´ŽµŽ¶Ž¶Ž¶');
|
||
# Test data for TRIM without [remstr] (remove spaces)
|
||
INSERT INTO `£Ô£±` VALUES (' Ž±Ž²Ž³Ž´Žµ ');
|
||
INSERT INTO `£Ô£²` VALUES ('¤¢¤¤¤¦¤¨¤ª');
|
||
INSERT INTO `£Ô£²` VALUES ('¤¢¤¤¤¦¤¨¤ª¤«');
|
||
INSERT INTO `£Ô£²` VALUES ('¤¢¤¤¤¦¤¨¤ª¤«¤«');
|
||
INSERT INTO `£Ô£²` VALUES ('¤¢¤¤¤¦¤¨¤ª¤«¤«¤«');
|
||
INSERT INTO `£Ô£²` VALUES ('¤«¤¢¤¤¤¦¤¨¤ª');
|
||
INSERT INTO `£Ô£²` VALUES ('¤«¤«¤¢¤¤¤¦¤¨¤ª');
|
||
INSERT INTO `£Ô£²` VALUES ('¤«¤«¤«¤¢¤¤¤¦¤¨¤ª');
|
||
INSERT INTO `£Ô£²` VALUES ('¤«¤«¤«¤¢¤¤¤¦¤¨¤ª¤«¤«¤«');
|
||
INSERT INTO `£Ô£²` VALUES (' ¤¢¤¤¤¦¤¨¤ª ');
|
||
INSERT INTO `£Ô£³` VALUES ('<27>íÜ<C3AD>íÝ<C3AD>íÞ<C3AD>íß<C3AD>íà');
|
||
INSERT INTO `£Ô£³` VALUES ('<27>íÜ<C3AD>íÝ<C3AD>íÞ<C3AD>íß<C3AD>íà<C3AD>°¡');
|
||
INSERT INTO `£Ô£³` VALUES ('<27>íÜ<C3AD>íÝ<C3AD>íÞ<C3AD>íß<C3AD>íà<C3AD>°¡<C2B0>°¡');
|
||
INSERT INTO `£Ô£³` VALUES ('<27>íÜ<C3AD>íÝ<C3AD>íÞ<C3AD>íß<C3AD>íà<C3AD>°¡<C2B0>°¡<C2B0>°¡');
|
||
INSERT INTO `£Ô£³` VALUES ('<27>°¡<C2B0>íÜ<C3AD>íÝ<C3AD>íÞ<C3AD>íß<C3AD>íà');
|
||
INSERT INTO `£Ô£³` VALUES ('<27>°¡<C2B0>°¡<C2B0>íÜ<C3AD>íÝ<C3AD>íÞ<C3AD>íß<C3AD>íà');
|
||
INSERT INTO `£Ô£³` VALUES ('<27>°¡<C2B0>°¡<C2B0>°¡<C2B0>íÜ<C3AD>íÝ<C3AD>íÞ<C3AD>íß<C3AD>íà');
|
||
INSERT INTO `£Ô£³` VALUES ('<27>°¡<C2B0>°¡<C2B0>°¡<C2B0>íÜ<C3AD>íÝ<C3AD>íÞ<C3AD>íß<C3AD>íà<C3AD>°¡<C2B0>°¡<C2B0>°¡');
|
||
INSERT INTO `£Ô£³` VALUES (' <20>íÜ<C3AD>íÝ<C3AD>íÞ<C3AD>íß<C3AD>íà ');
|
||
|
||
INSERT INTO `£Ô£´` VALUES ('Ž±Ž²Ž³Ž´Žµ');
|
||
INSERT INTO `£Ô£´` VALUES ('Ž±Ž²Ž³Ž´ŽµŽ¶');
|
||
INSERT INTO `£Ô£´` VALUES ('Ž±Ž²Ž³Ž´ŽµŽ¶Ž¶');
|
||
INSERT INTO `£Ô£´` VALUES ('Ž±Ž²Ž³Ž´ŽµŽ¶Ž¶Ž¶');
|
||
INSERT INTO `£Ô£´` VALUES ('Ž¶Ž±Ž²Ž³Ž´Žµ');
|
||
INSERT INTO `£Ô£´` VALUES ('Ž¶Ž¶Ž±Ž²Ž³Ž´Žµ');
|
||
INSERT INTO `£Ô£´` VALUES ('Ž¶Ž¶Ž¶Ž±Ž²Ž³Ž´Žµ');
|
||
INSERT INTO `£Ô£´` VALUES ('Ž¶Ž¶Ž¶Ž±Ž²Ž³Ž´ŽµŽ¶Ž¶Ž¶');
|
||
INSERT INTO `£Ô£´` VALUES (' Ž±Ž²Ž³Ž´Žµ ');
|
||
INSERT INTO `£Ô£µ` VALUES ('¤¢¤¤¤¦¤¨¤ª');
|
||
INSERT INTO `£Ô£µ` VALUES ('¤¢¤¤¤¦¤¨¤ª¤«');
|
||
INSERT INTO `£Ô£µ` VALUES ('¤¢¤¤¤¦¤¨¤ª¤«¤«');
|
||
INSERT INTO `£Ô£µ` VALUES ('¤¢¤¤¤¦¤¨¤ª¤«¤«¤«');
|
||
INSERT INTO `£Ô£µ` VALUES ('¤«¤¢¤¤¤¦¤¨¤ª');
|
||
INSERT INTO `£Ô£µ` VALUES ('¤«¤«¤¢¤¤¤¦¤¨¤ª');
|
||
INSERT INTO `£Ô£µ` VALUES ('¤«¤«¤«¤¢¤¤¤¦¤¨¤ª');
|
||
INSERT INTO `£Ô£µ` VALUES ('¤«¤«¤«¤¢¤¤¤¦¤¨¤ª¤«¤«¤«');
|
||
INSERT INTO `£Ô£µ` VALUES (' ¤¢¤¤¤¦¤¨¤ª ');
|
||
INSERT INTO `£Ô£¶` VALUES ('<27>íÜ<C3AD>íÝ<C3AD>íÞ<C3AD>íß<C3AD>íà');
|
||
INSERT INTO `£Ô£¶` VALUES ('<27>íÜ<C3AD>íÝ<C3AD>íÞ<C3AD>íß<C3AD>íà<C3AD>°¡');
|
||
INSERT INTO `£Ô£¶` VALUES ('<27>íÜ<C3AD>íÝ<C3AD>íÞ<C3AD>íß<C3AD>íà<C3AD>°¡<C2B0>°¡');
|
||
INSERT INTO `£Ô£¶` VALUES ('<27>íÜ<C3AD>íÝ<C3AD>íÞ<C3AD>íß<C3AD>íà<C3AD>°¡<C2B0>°¡<C2B0>°¡');
|
||
INSERT INTO `£Ô£¶` VALUES ('<27>°¡<C2B0>íÜ<C3AD>íÝ<C3AD>íÞ<C3AD>íß<C3AD>íà');
|
||
INSERT INTO `£Ô£¶` VALUES ('<27>°¡<C2B0>°¡<C2B0>íÜ<C3AD>íÝ<C3AD>íÞ<C3AD>íß<C3AD>íà');
|
||
INSERT INTO `£Ô£¶` VALUES ('<27>°¡<C2B0>°¡<C2B0>°¡<C2B0>íÜ<C3AD>íÝ<C3AD>íÞ<C3AD>íß<C3AD>íà');
|
||
INSERT INTO `£Ô£¶` VALUES ('<27>°¡<C2B0>°¡<C2B0>°¡<C2B0>íÜ<C3AD>íÝ<C3AD>íÞ<C3AD>íß<C3AD>íà<C3AD>°¡<C2B0>°¡<C2B0>°¡');
|
||
INSERT INTO `£Ô£¶` VALUES (' <20>íÜ<C3AD>íÝ<C3AD>íÞ<C3AD>íß<C3AD>íà ');
|
||
|
||
INSERT INTO `£Ô£·` VALUES ('Ž±Ž²Ž³Ž´Žµ');
|
||
INSERT INTO `£Ô£·` VALUES ('Ž±Ž²Ž³Ž´ŽµŽ¶');
|
||
INSERT INTO `£Ô£·` VALUES ('Ž±Ž²Ž³Ž´ŽµŽ¶Ž¶');
|
||
INSERT INTO `£Ô£·` VALUES ('Ž±Ž²Ž³Ž´ŽµŽ¶Ž¶Ž¶');
|
||
INSERT INTO `£Ô£·` VALUES ('Ž¶Ž±Ž²Ž³Ž´Žµ');
|
||
INSERT INTO `£Ô£·` VALUES ('Ž¶Ž¶Ž±Ž²Ž³Ž´Žµ');
|
||
INSERT INTO `£Ô£·` VALUES ('Ž¶Ž¶Ž¶Ž±Ž²Ž³Ž´Žµ');
|
||
INSERT INTO `£Ô£·` VALUES ('Ž¶Ž¶Ž¶Ž±Ž²Ž³Ž´ŽµŽ¶Ž¶Ž¶');
|
||
INSERT INTO `£Ô£·` VALUES (' Ž±Ž²Ž³Ž´Žµ ');
|
||
INSERT INTO `£Ô£¸` VALUES ('¤¢¤¤¤¦¤¨¤ª');
|
||
INSERT INTO `£Ô£¸` VALUES ('¤¢¤¤¤¦¤¨¤ª¤«');
|
||
INSERT INTO `£Ô£¸` VALUES ('¤¢¤¤¤¦¤¨¤ª¤«¤«');
|
||
INSERT INTO `£Ô£¸` VALUES ('¤¢¤¤¤¦¤¨¤ª¤«¤«¤«');
|
||
INSERT INTO `£Ô£¸` VALUES ('¤«¤¢¤¤¤¦¤¨¤ª');
|
||
INSERT INTO `£Ô£¸` VALUES ('¤«¤«¤¢¤¤¤¦¤¨¤ª');
|
||
INSERT INTO `£Ô£¸` VALUES ('¤«¤«¤«¤¢¤¤¤¦¤¨¤ª');
|
||
INSERT INTO `£Ô£¸` VALUES ('¤«¤«¤«¤¢¤¤¤¦¤¨¤ª¤«¤«¤«');
|
||
INSERT INTO `£Ô£¸` VALUES (' ¤¢¤¤¤¦¤¨¤ª ');
|
||
INSERT INTO `£Ô£¹` VALUES ('<27>íÜ<C3AD>íÝ<C3AD>íÞ<C3AD>íß<C3AD>íà');
|
||
INSERT INTO `£Ô£¹` VALUES ('<27>íÜ<C3AD>íÝ<C3AD>íÞ<C3AD>íß<C3AD>íà<C3AD>°¡');
|
||
INSERT INTO `£Ô£¹` VALUES ('<27>íÜ<C3AD>íÝ<C3AD>íÞ<C3AD>íß<C3AD>íà<C3AD>°¡<C2B0>°¡');
|
||
INSERT INTO `£Ô£¹` VALUES ('<27>íÜ<C3AD>íÝ<C3AD>íÞ<C3AD>íß<C3AD>íà<C3AD>°¡<C2B0>°¡<C2B0>°¡');
|
||
INSERT INTO `£Ô£¹` VALUES ('<27>°¡<C2B0>íÜ<C3AD>íÝ<C3AD>íÞ<C3AD>íß<C3AD>íà');
|
||
INSERT INTO `£Ô£¹` VALUES ('<27>°¡<C2B0>°¡<C2B0>íÜ<C3AD>íÝ<C3AD>íÞ<C3AD>íß<C3AD>íà');
|
||
INSERT INTO `£Ô£¹` VALUES ('<27>°¡<C2B0>°¡<C2B0>°¡<C2B0>íÜ<C3AD>íÝ<C3AD>íÞ<C3AD>íß<C3AD>íà');
|
||
INSERT INTO `£Ô£¹` VALUES ('<27>°¡<C2B0>°¡<C2B0>°¡<C2B0>íÜ<C3AD>íÝ<C3AD>íÞ<C3AD>íß<C3AD>íà<C3AD>°¡<C2B0>°¡<C2B0>°¡');
|
||
INSERT INTO `£Ô£¹` VALUES (' <20>íÜ<C3AD>íÝ<C3AD>íÞ<C3AD>íß<C3AD>íà ');
|
||
|
||
INSERT INTO `£Ô£±£°` VALUES ('Ž±Ž²Ž³Ž´Žµ');
|
||
INSERT INTO `£Ô£±£°` VALUES ('Ž±Ž²Ž³Ž´ŽµŽ¶');
|
||
INSERT INTO `£Ô£±£°` VALUES ('Ž±Ž²Ž³Ž´ŽµŽ¶Ž¶');
|
||
INSERT INTO `£Ô£±£°` VALUES ('Ž±Ž²Ž³Ž´ŽµŽ¶Ž¶Ž¶');
|
||
INSERT INTO `£Ô£±£°` VALUES ('Ž¶Ž±Ž²Ž³Ž´Žµ');
|
||
INSERT INTO `£Ô£±£°` VALUES ('Ž¶Ž¶Ž±Ž²Ž³Ž´Žµ');
|
||
INSERT INTO `£Ô£±£°` VALUES ('Ž¶Ž¶Ž¶Ž±Ž²Ž³Ž´Žµ');
|
||
INSERT INTO `£Ô£±£°` VALUES ('Ž¶Ž¶Ž¶Ž±Ž²Ž³Ž´ŽµŽ¶Ž¶Ž¶');
|
||
INSERT INTO `£Ô£±£°` VALUES (' Ž±Ž²Ž³Ž´Žµ ');
|
||
INSERT INTO `£Ô£±£±` VALUES ('¤¢¤¤¤¦¤¨¤ª');
|
||
INSERT INTO `£Ô£±£±` VALUES ('¤¢¤¤¤¦¤¨¤ª¤«');
|
||
INSERT INTO `£Ô£±£±` VALUES ('¤¢¤¤¤¦¤¨¤ª¤«¤«');
|
||
INSERT INTO `£Ô£±£±` VALUES ('¤¢¤¤¤¦¤¨¤ª¤«¤«¤«');
|
||
INSERT INTO `£Ô£±£±` VALUES ('¤«¤¢¤¤¤¦¤¨¤ª');
|
||
INSERT INTO `£Ô£±£±` VALUES ('¤«¤«¤¢¤¤¤¦¤¨¤ª');
|
||
INSERT INTO `£Ô£±£±` VALUES ('¤«¤«¤«¤¢¤¤¤¦¤¨¤ª');
|
||
INSERT INTO `£Ô£±£±` VALUES ('¤«¤«¤«¤¢¤¤¤¦¤¨¤ª¤«¤«¤«');
|
||
INSERT INTO `£Ô£±£±` VALUES (' ¤¢¤¤¤¦¤¨¤ª ');
|
||
INSERT INTO `£Ô£±£²` VALUES ('<27>íÜ<C3AD>íÝ<C3AD>íÞ<C3AD>íß<C3AD>íà');
|
||
INSERT INTO `£Ô£±£²` VALUES ('<27>íÜ<C3AD>íÝ<C3AD>íÞ<C3AD>íß<C3AD>íà<C3AD>°¡');
|
||
INSERT INTO `£Ô£±£²` VALUES ('<27>íÜ<C3AD>íÝ<C3AD>íÞ<C3AD>íß<C3AD>íà<C3AD>°¡<C2B0>°¡');
|
||
INSERT INTO `£Ô£±£²` VALUES ('<27>íÜ<C3AD>íÝ<C3AD>íÞ<C3AD>íß<C3AD>íà<C3AD>°¡<C2B0>°¡<C2B0>°¡');
|
||
INSERT INTO `£Ô£±£²` VALUES ('<27>°¡<C2B0>íÜ<C3AD>íÝ<C3AD>íÞ<C3AD>íß<C3AD>íà');
|
||
INSERT INTO `£Ô£±£²` VALUES ('<27>°¡<C2B0>°¡<C2B0>íÜ<C3AD>íÝ<C3AD>íÞ<C3AD>íß<C3AD>íà');
|
||
INSERT INTO `£Ô£±£²` VALUES ('<27>°¡<C2B0>°¡<C2B0>°¡<C2B0>íÜ<C3AD>íÝ<C3AD>íÞ<C3AD>íß<C3AD>íà');
|
||
INSERT INTO `£Ô£±£²` VALUES ('<27>°¡<C2B0>°¡<C2B0>°¡<C2B0>íÜ<C3AD>íÝ<C3AD>íÞ<C3AD>íß<C3AD>íà<C3AD>°¡<C2B0>°¡<C2B0>°¡');
|
||
INSERT INTO `£Ô£±£²` VALUES (' <20>íÜ<C3AD>íÝ<C3AD>íÞ<C3AD>íß<C3AD>íà ');
|
||
|
||
#InnoDB
|
||
SELECT `£Ã£±`,TRIM(TRAILING 'Ž¶' FROM `£Ã£±`) FROM `£Ô£±`;
|
||
SELECT `£Ã£±`,TRIM(LEADING 'Ž¶' FROM `£Ã£±`) FROM `£Ô£±`;
|
||
SELECT `£Ã£±`,TRIM(BOTH 'Ž¶' FROM `£Ã£±`) FROM `£Ô£±`;
|
||
SELECT `£Ã£±`,TRIM(`£Ã£±`) FROM `£Ô£±`;
|
||
SELECT `£Ã£±`,TRIM(TRAILING '¤«' FROM `£Ã£±`) FROM `£Ô£²`;
|
||
SELECT `£Ã£±`,TRIM(LEADING '¤«' FROM `£Ã£±`) FROM `£Ô£²`;
|
||
SELECT `£Ã£±`,TRIM(BOTH '¤«' FROM `£Ã£±`) FROM `£Ô£²`;
|
||
SELECT `£Ã£±`,TRIM(`£Ã£±`) FROM `£Ô£²`;
|
||
SELECT `£Ã£±`,TRIM(TRAILING '<27>°¡'FROM `£Ã£±`) FROM `£Ô£³`;
|
||
SELECT `£Ã£±`,TRIM(LEADING '<27>°¡' FROM `£Ã£±`) FROM `£Ô£³`;
|
||
SELECT `£Ã£±`,TRIM(BOTH '<27>°¡' FROM `£Ã£±`) FROM `£Ô£³`;
|
||
SELECT `£Ã£±`,TRIM(`£Ã£±`) FROM `£Ô£³`;
|
||
|
||
#MyISAM
|
||
SELECT `£Ã£±`,TRIM(TRAILING 'Ž¶' FROM `£Ã£±`) FROM `£Ô£´`;
|
||
SELECT `£Ã£±`,TRIM(LEADING 'Ž¶' FROM `£Ã£±`) FROM `£Ô£´`;
|
||
SELECT `£Ã£±`,TRIM(BOTH 'Ž¶' FROM `£Ã£±`) FROM `£Ô£´`;
|
||
SELECT `£Ã£±`,TRIM(`£Ã£±`) FROM `£Ô£´`;
|
||
SELECT `£Ã£±`,TRIM(TRAILING '¤«' FROM `£Ã£±`) FROM `£Ô£µ`;
|
||
SELECT `£Ã£±`,TRIM(LEADING '¤«' FROM `£Ã£±`) FROM `£Ô£µ`;
|
||
SELECT `£Ã£±`,TRIM(BOTH '¤«' FROM `£Ã£±`) FROM `£Ô£µ`;
|
||
SELECT `£Ã£±`,TRIM(`£Ã£±`) FROM `£Ô£µ`;
|
||
SELECT `£Ã£±`,TRIM(TRAILING '<27>°¡' FROM `£Ã£±`) FROM `£Ô£¶`;
|
||
SELECT `£Ã£±`,TRIM(LEADING '<27>°¡' FROM `£Ã£±`) FROM `£Ô£¶`;
|
||
SELECT `£Ã£±`,TRIM(BOTH '<27>°¡' FROM `£Ã£±`) FROM `£Ô£¶`;
|
||
SELECT `£Ã£±`,TRIM(`£Ã£±`) FROM `£Ô£¶`;
|
||
|
||
#HEAP
|
||
SELECT `£Ã£±`,TRIM(TRAILING 'Ž¶' FROM `£Ã£±`) FROM `£Ô£·`;
|
||
SELECT `£Ã£±`,TRIM(LEADING 'Ž¶' FROM `£Ã£±`) FROM `£Ô£·`;
|
||
SELECT `£Ã£±`,TRIM(BOTH 'Ž¶' FROM `£Ã£±`) FROM `£Ô£·`;
|
||
SELECT `£Ã£±`,TRIM(`£Ã£±`) FROM `£Ô£·`;
|
||
SELECT `£Ã£±`,TRIM(TRAILING '¤«' FROM `£Ã£±`) FROM `£Ô£¸`;
|
||
SELECT `£Ã£±`,TRIM(LEADING '¤«' FROM `£Ã£±`) FROM `£Ô£¸`;
|
||
SELECT `£Ã£±`,TRIM(BOTH '¤«' FROM `£Ã£±`) FROM `£Ô£¸`;
|
||
SELECT `£Ã£±`,TRIM(`£Ã£±`) FROM `£Ô£¸`;
|
||
SELECT `£Ã£±`,TRIM(TRAILING '<27>°¡' FROM `£Ã£±`) FROM `£Ô£¹`;
|
||
SELECT `£Ã£±`,TRIM(LEADING '<27>°¡' FROM `£Ã£±`) FROM `£Ô£¹`;
|
||
SELECT `£Ã£±`,TRIM(BOTH '<27>°¡' FROM `£Ã£±`) FROM `£Ô£¹`;
|
||
SELECT `£Ã£±`,TRIM(`£Ã£±`) FROM `£Ô£¹`;
|
||
|
||
#BDB
|
||
SELECT `£Ã£±`,TRIM(TRAILING 'Ž¶' FROM `£Ã£±`) FROM `£Ô£±£°`;
|
||
SELECT `£Ã£±`,TRIM(LEADING 'Ž¶' FROM `£Ã£±`) FROM `£Ô£±£°`;
|
||
SELECT `£Ã£±`,TRIM(BOTH 'Ž¶' FROM `£Ã£±`) FROM `£Ô£±£°`;
|
||
SELECT `£Ã£±`,TRIM(`£Ã£±`) FROM `£Ô£±£°`;
|
||
SELECT `£Ã£±`,TRIM(TRAILING '¤«' FROM `£Ã£±`) FROM `£Ô£±£±`;
|
||
SELECT `£Ã£±`,TRIM(LEADING '¤«' FROM `£Ã£±`) FROM `£Ô£±£±`;
|
||
SELECT `£Ã£±`,TRIM(BOTH '¤«' FROM `£Ã£±`) FROM `£Ô£±£±`;
|
||
SELECT `£Ã£±`,TRIM(`£Ã£±`) FROM `£Ô£±£±`;
|
||
SELECT `£Ã£±`,TRIM(TRAILING '<27>°¡' FROM `£Ã£±`) FROM `£Ô£±£²`;
|
||
SELECT `£Ã£±`,TRIM(LEADING '<27>°¡' FROM `£Ã£±`) FROM `£Ô£±£²`;
|
||
SELECT `£Ã£±`,TRIM(BOTH '<27>°¡' FROM `£Ã£±`) FROM `£Ô£±£²`;
|
||
SELECT `£Ã£±`,TRIM(`£Ã£±`) FROM `£Ô£±£²`;
|
||
|
||
DROP TABLE `£Ô£±`;
|
||
DROP TABLE `£Ô£²`;
|
||
DROP TABLE `£Ô£³`;
|
||
DROP TABLE `£Ô£´`;
|
||
DROP TABLE `£Ô£µ`;
|
||
DROP TABLE `£Ô£¶`;
|
||
DROP TABLE `£Ô£·`;
|
||
DROP TABLE `£Ô£¸`;
|
||
DROP TABLE `£Ô£¹`;
|
||
DROP TABLE `£Ô£±£°`;
|
||
DROP TABLE `£Ô£±£±`;
|
||
DROP TABLE `£Ô£±£²`;
|