Hirdetés
- Bemutatkozott a Poco X7 és X7 Pro
- Xiaomi 15 - kicsi telefon nagy energiával
- iPhone topik
- Samsung Galaxy S25 Ultra - titán keret, acélos teljesítmény
- Apple Watch
- Samsung Galaxy A52s 5G - jó S-tehetség
- Samsung Galaxy A54 - türelemjáték
- Hivatalos a OnePlus 13 startdátuma
- Örömhír: nem spórol Európán a OnePlus
- Kiesett a pikszisből a BOE
Új hozzászólás Aktív témák
-
pelyib
tag
Mivel en se tudtam a valaszt, viszont erdekelt, ezert kicsit olvasgattam es ezeket talaltam:
For nonbinary collation names that do not specify accent sensitivity, it is determined by case sensitivity. If a collation name does not contain_aior_as,_ciin the name implies_aiand_csin the name implies_as. For example,latin1_general_ciis explicitly case-insensitive and implicitly accent-insensitive, andlatin1_general_csis explicitly case-sensitive and implicitly accent-sensitive.
[LINK]Illetve ezt a kerdest S0-n
If you need "beyoncé" and "beyonce" to be considered different, then ideally you would use a case-sensitive (and either explicitly-stated or implied accent-sensitive) collation. However, it looks like this is not available in MySQL 5.6 (or even 5.7), while MySQL 8.0 does haveutf8mb4_0900_as_cs, or evenutf8mb4_0900_as_ciif you only want the accent to distinguish between the values while allowing "beyonce" and "Beyonce" to match.Bar ez nem kisokos, de legalabb valasz az eredeti kerdesre

UPD: csak lehet ezt:
percona x@y:z> show create table char_collection;
+-----------------+-------------------------------------------------------------+
| Table | Create Table |
+-----------------+-------------------------------------------------------------+
| char_collection | CREATE TABLE `char_collection` ( |
| | `name` varchar(255) CHARACTER SET utf8mb4 DEFAULT NULL |
| | ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin |
+-----------------+-------------------------------------------------------------+
1 row in set
Time: 0.039s
percona x@y:z> select * from char_collection where name like 'ár%' collate utf8mb4_bin;
+------------------------+
| name |
+------------------------+
| árvíztűrő tükörfúrógép |
+------------------------+
1 row in set
Time: 0.237s
percona x@y:z> select * from char_collection where name like 'ar%' collate utf8mb4_bin;
+------+
| name |
+------+
0 rows in set
Time: 1.997s
percona x@y:z> select * from char_collection;
+------------------------+
| name |
+------------------------+
| árvíztűrő tükörfúrógép |
+------------------------+
1 row in set
Time: 0.067s
Új hozzászólás Aktív témák
- Toshiba 500 GB 2,5 Notebook HDD
- VTX AMD Radeon HD 6870 1 GB GDDR5 256 bit PCI-E Videokártya
- G.SKILL Trident Z5 Royal Neo Silver 64GB (2x32GB) DDR5 6000MHz CL30 - Élettartam garancia
- XFX Quicksilver AMD Radeon RX 7800 XT Magnetic Air - Arctic White - Alza garancia 2028.02.25.
- Apple iPhone 15 128GB,Újszerű,Dobozával,12 hónap garanciával
- Xiaomi 15 Ultra Silver Chrome 120 Hz WQHD+ LTPO AMOLED, Leica 1 + 200 MP periszkóp 16/512 GB
- Telefon felvásárlás!! Samsung Galaxy S23/Samsung Galaxy S23+/Samsung Galaxy S23 Ultra
- Sanyo akkutöltő + 2 használható akku
- LG 27GR95UM - 27" MiniLED - UHD 4K - 160Hz 1ms - NVIDIA G-Sync - FreeSync Premium PRO - HDR 1000
- ÁRGARANCIA!Épített KomPhone i5 14600KF 32/64GB DDR5 RAM RTX 5070Ti 16GB GAMER PC termékbeszámítással
Állásajánlatok
Cég: PCMENTOR SZERVIZ KFT.
Város: Budapest
Cég: Laptopműhely Bt.
Város: Budapest



