Können wir einen alphanumerischen 6 -stelligen Primärschlüssel in phpMyadmin erzeugen?
SELECT str_rand(6, '23456789abcdefghijkmnpqrstuvwxyz');
Ankur
SELECT str_rand(6, '23456789abcdefghijkmnpqrstuvwxyz');
mysql> update DemoTable
set Value=LPAD(FLOOR(RAND() * 999999.99), 6, '0');
Query OK, 6 rows affected (0.15 sec)
Rows matched: 6 Changed: 6 Warnings: 0