Syntaxe de SET
<<<
Commande SHOW CHARACTER SET Syntaxe de SHOW COLLATION
>>>

14.5.3 Syntaxe de SHOW
14.5 Référence de langage d'administration de la base de données
14 Syntaxe des commandes SQL
 Manuel de Référence MySQL 4.1 : Version Française

Syntaxe de SET
->Commande SHOW CHARACTER SET
Syntaxe de SHOW COLLATION
Syntaxe de SHOW COLUMNS
Syntaxe de SHOW CREATE DATABASE
Syntaxe de SHOW CREATE TABLE
Obtenir des informations sur les bases, tables, colonnes et index
Syntaxe SHOW ENGINES
Syntaxe de SHOW ERRORS
SHOW GRANTS
Syntaxe de SHOW INDEX
Syntaxe de SHOW INNODB STATUS
Syntaxe de SHOW LOGS
SHOW PRIVILEGES
Syntaxe de SHOW PROCESSLIST
Syntaxe de SHOW STATUS
SHOW TABLE STATUS
Syntaxe de SHOW TABLES
Syntaxe de SHOW VARIABLES
SHOW WARNINGS | ERRORS

14.5.3.2 Commande SHOW CHARACTER SET

La commande SHOW CHARACTER SET montre tous les jeux de caractères disponibles. Il faut une clause facultative LIKE pour limiter les jeux de caractères à afficher.

Par exemple :


mysql> SHOW CHARACTER SET LIKE 'latin%';
+---------+-----------------------------+-------------------+--------+
| Charset | Description                 | Default collation | Maxlen |
+---------+-----------------------------+-------------------+--------+
| latin1  | ISO 8859-1 West European    | latin1_swedish_ci |      1 |
| latin2  | ISO 8859-2 Central European | latin2_general_ci |      1 |
| latin5  | ISO 8859-9 Turkish          | latin5_turkish_ci |      1 |
| latin7  | ISO 8859-13 Baltic          | latin7_general_ci |      1 |
+---------+-----------------------------+-------------------+--------+
4 rows in set (0.00 sec)
Remarques sur la liste précédente :
  • La colonne Maxlen affiche le nombre maximum d'octets utilisés pour stocker un caractère.

<< Commande SHOW CHARACTER SET >>
Syntaxe de SET Syntaxe de SHOW Syntaxe de SHOW COLLATION