Commit 4d36263e authored by unknown's avatar unknown

ctype_many.test:

  Insert constants with an explicit character set
ctype_many.result:
  Fix according test change


mysql-test/r/ctype_many.result:
  Fix according test change
mysql-test/t/ctype_many.test:
  Insert constants with an explicit character set
parent e3b22fbb
......@@ -93,70 +93,70 @@ INSERT INTO t1 (koi8_ru_f,comment) VALUES ('W','LAT CAPIT W');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('X','LAT CAPIT X');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('Y','LAT CAPIT Y');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('Z','LAT CAPIT Z');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR SMALL A');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR SMALL BE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR SMALL VE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR SMALL GE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR SMALL DE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR SMALL IE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR SMALL IO');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR SMALL ZHE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR SMALL ZE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR SMALL I');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR SMALL KA');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR SMALL EL');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR SMALL EM');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR SMALL EN');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR SMALL O');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR SMALL PE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR SMALL ER');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR SMALL ES');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR SMALL TE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR SMALL U');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR SMALL EF');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR SMALL HA');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR SMALL TSE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR SMALL CHE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR SMALL SHA');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR SMALL SCHA');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR SMALL HARD SIGN');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR SMALL YERU');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR SMALL SOFT SIGN');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR SMALL E');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR SMALL YU');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR SMALL YA');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR CAPIT A');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR CAPIT BE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR CAPIT VE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR CAPIT GE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR CAPIT DE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR CAPIT IE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR CAPIT IO');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR CAPIT ZHE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR CAPIT ZE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR CAPIT I');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR CAPIT KA');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR CAPIT EL');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR CAPIT EM');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR CAPIT EN');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR CAPIT O');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR CAPIT PE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR CAPIT ER');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR CAPIT ES');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR CAPIT TE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR CAPIT U');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR CAPIT EF');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR CAPIT HA');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR CAPIT TSE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR CAPIT CHE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR CAPIT SHA');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR CAPIT SCHA');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR CAPIT HARD SIGN');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR CAPIT YERU');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR CAPIT SOFT SIGN');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR CAPIT E');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR CAPIT YU');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR CAPIT YA');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR SMALL A');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR SMALL BE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR SMALL VE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR SMALL GE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR SMALL DE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR SMALL IE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR SMALL IO');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR SMALL ZHE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR SMALL ZE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR SMALL I');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR SMALL KA');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR SMALL EL');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR SMALL EM');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR SMALL EN');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR SMALL O');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR SMALL PE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR SMALL ER');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR SMALL ES');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR SMALL TE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR SMALL U');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR SMALL EF');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR SMALL HA');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR SMALL TSE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR SMALL CHE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR SMALL SHA');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR SMALL SCHA');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR SMALL HARD SIGN');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR SMALL YERU');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR SMALL SOFT SIGN');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR SMALL E');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR SMALL YU');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR SMALL YA');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR CAPIT A');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR CAPIT BE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR CAPIT VE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR CAPIT GE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR CAPIT DE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR CAPIT IE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR CAPIT IO');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR CAPIT ZHE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR CAPIT ZE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR CAPIT I');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR CAPIT KA');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR CAPIT EL');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR CAPIT EM');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR CAPIT EN');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR CAPIT O');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR CAPIT PE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR CAPIT ER');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR CAPIT ES');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR CAPIT TE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR CAPIT U');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR CAPIT EF');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR CAPIT HA');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR CAPIT TSE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR CAPIT CHE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR CAPIT SHA');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR CAPIT SCHA');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR CAPIT HARD SIGN');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR CAPIT YERU');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR CAPIT SOFT SIGN');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR CAPIT E');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR CAPIT YU');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR CAPIT YA');
SELECT CONVERT(koi8_ru_f USING utf8),MIN(comment),COUNT(*) FROM t1 GROUP BY 1;
CONVERT(koi8_ru_f USING utf8) MIN(comment) COUNT(*)
a LAT CAPIT A 2
......
......@@ -70,70 +70,70 @@ INSERT INTO t1 (koi8_ru_f,comment) VALUES ('W','LAT CAPIT W');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('X','LAT CAPIT X');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('Y','LAT CAPIT Y');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('Z','LAT CAPIT Z');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR SMALL A');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR SMALL BE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR SMALL VE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR SMALL GE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR SMALL DE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR SMALL IE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR SMALL IO');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR SMALL ZHE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR SMALL ZE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR SMALL I');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR SMALL KA');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR SMALL EL');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR SMALL EM');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR SMALL EN');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR SMALL O');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR SMALL PE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR SMALL ER');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR SMALL ES');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR SMALL TE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR SMALL U');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR SMALL EF');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR SMALL HA');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR SMALL TSE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR SMALL CHE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR SMALL SHA');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR SMALL SCHA');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR SMALL HARD SIGN');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR SMALL YERU');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR SMALL SOFT SIGN');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR SMALL E');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR SMALL YU');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR SMALL YA');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR CAPIT A');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR CAPIT BE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR CAPIT VE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR CAPIT GE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR CAPIT DE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR CAPIT IE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR CAPIT IO');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR CAPIT ZHE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR CAPIT ZE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR CAPIT I');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR CAPIT KA');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR CAPIT EL');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR CAPIT EM');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR CAPIT EN');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR CAPIT O');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR CAPIT PE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR CAPIT ER');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR CAPIT ES');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR CAPIT TE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR CAPIT U');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR CAPIT EF');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR CAPIT HA');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR CAPIT TSE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR CAPIT CHE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR CAPIT SHA');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR CAPIT SCHA');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR CAPIT HARD SIGN');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR CAPIT YERU');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR CAPIT SOFT SIGN');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR CAPIT E');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR CAPIT YU');
INSERT INTO t1 (koi8_ru_f,comment) VALUES ('','CYR CAPIT YA');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR SMALL A');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR SMALL BE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR SMALL VE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR SMALL GE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR SMALL DE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR SMALL IE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR SMALL IO');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR SMALL ZHE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR SMALL ZE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR SMALL I');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR SMALL KA');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR SMALL EL');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR SMALL EM');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR SMALL EN');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR SMALL O');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR SMALL PE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR SMALL ER');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR SMALL ES');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR SMALL TE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR SMALL U');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR SMALL EF');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR SMALL HA');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR SMALL TSE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR SMALL CHE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR SMALL SHA');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR SMALL SCHA');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR SMALL HARD SIGN');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR SMALL YERU');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR SMALL SOFT SIGN');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR SMALL E');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR SMALL YU');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR SMALL YA');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR CAPIT A');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR CAPIT BE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR CAPIT VE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR CAPIT GE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR CAPIT DE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR CAPIT IE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR CAPIT IO');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR CAPIT ZHE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR CAPIT ZE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR CAPIT I');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR CAPIT KA');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR CAPIT EL');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR CAPIT EM');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR CAPIT EN');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR CAPIT O');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR CAPIT PE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR CAPIT ER');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR CAPIT ES');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR CAPIT TE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR CAPIT U');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR CAPIT EF');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR CAPIT HA');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR CAPIT TSE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR CAPIT CHE');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR CAPIT SHA');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR CAPIT SCHA');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR CAPIT HARD SIGN');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR CAPIT YERU');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR CAPIT SOFT SIGN');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR CAPIT E');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR CAPIT YU');
INSERT INTO t1 (koi8_ru_f,comment) VALUES (_koi8r'','CYR CAPIT YA');
SELECT CONVERT(koi8_ru_f USING utf8),MIN(comment),COUNT(*) FROM t1 GROUP BY 1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment