Geen cache-versie.

Caching uitgeschakeld. Standaardinstelling voor deze pagina:ingeschakeld (code DEF204)
Als het scherm te langzaam is, kunt u de gebruikersmodus uitschakelen om de cacheversie te bekijken.

Rechercher dans le manuel MySQL

13.7.6.4 SHOW COLLATION Syntax

  1.     [LIKE 'pattern' | WHERE expr]

This statement lists collations supported by the server. By default, the output from SHOW COLLATION includes all available collations. The LIKE clause, if present, indicates which collation names to match. The WHERE clause can be given to select rows using more general conditions, as discussed in Section 25.42, “Extensions to SHOW Statements”. For example:

  1. mysql> SHOW COLLATION WHERE Charset = 'latin1';
  2. +-------------------+---------+----+---------+----------+---------+
  3. | Collation         | Charset | Id | Default | Compiled | Sortlen |
  4. +-------------------+---------+----+---------+----------+---------+
  5. | latin1_german1_ci | latin1  |  5 |         | Yes      |       1 |
  6. | latin1_swedish_ci | latin1  |  8 | Yes     | Yes      |       1 |
  7. | latin1_danish_ci  | latin1  | 15 |         | Yes      |       1 |
  8. | latin1_german2_ci | latin1  | 31 |         | Yes      |       2 |
  9. | latin1_bin        | latin1  | 47 |         | Yes      |       1 |
  10. | latin1_general_ci | latin1  | 48 |         | Yes      |       1 |
  11. | latin1_general_cs | latin1  | 49 |         | Yes      |       1 |
  12. | latin1_spanish_ci | latin1  | 94 |         | Yes      |       1 |
  13. +-------------------+---------+----+---------+----------+---------+

SHOW COLLATION output has these columns:

  • Collation

    The collation name.

  • Charset

    The name of the character set with which the collation is associated.

  • Id

    The collation ID.

  • Default

    Whether the collation is the default for its character set.

  • Compiled

    Whether the character set is compiled into the server.

  • Sortlen

    This is related to the amount of memory required to sort strings expressed in the character set.

To see the default collation for each character set, use the following statement. Default is a reserved word, so to use it as an identifier, it must be quoted as such:

  1. mysql> SHOW COLLATION WHERE `Default` = 'Yes';
  2. +---------------------+----------+----+---------+----------+---------+
  3. | Collation           | Charset  | Id | Default | Compiled | Sortlen |
  4. +---------------------+----------+----+---------+----------+---------+
  5. | big5_chinese_ci     | big5     |  1 | Yes     | Yes      |       1 |
  6. | dec8_swedish_ci     | dec8     |  3 | Yes     | Yes      |       1 |
  7. | cp850_general_ci    | cp850    |  4 | Yes     | Yes      |       1 |
  8. | hp8_english_ci      | hp8      |  6 | Yes     | Yes      |       1 |
  9. | koi8r_general_ci    | koi8r    |  7 | Yes     | Yes      |       1 |
  10. | latin1_swedish_ci   | latin1   |  8 | Yes     | Yes      |       1 |
  11. ...

Collation information is also available from the INFORMATION_SCHEMA COLLATIONS table. See Section 25.4, “The INFORMATION_SCHEMA COLLATIONS Table”.


Zoek in de MySQL-handleiding

Nederlandse vertaling

U hebt gevraagd om deze site in het Nederlands te bezoeken. Voor nu wordt alleen de interface vertaald, maar nog niet alle inhoud.

Als je me wilt helpen met vertalingen, is je bijdrage welkom. Het enige dat u hoeft te doen, is u op de site registreren en mij een bericht sturen waarin u wordt gevraagd om u toe te voegen aan de groep vertalers, zodat u de gewenste pagina's kunt vertalen. Een link onderaan elke vertaalde pagina geeft aan dat u de vertaler bent en heeft een link naar uw profiel.

Bij voorbaat dank.

Document heeft de 26/06/2006 gemaakt, de laatste keer de 26/10/2018 gewijzigd
Bron van het afgedrukte document:https://www.gaudry.be/nl/mysql-rf-show-collation.html

De infobrol is een persoonlijke site waarvan de inhoud uitsluitend mijn verantwoordelijkheid is. De tekst is beschikbaar onder CreativeCommons-licentie (BY-NC-SA). Meer info op de gebruiksvoorwaarden en de auteur.

Referenties

  1. Bekijk - html-document Taal van het document:en Manuel MySQL : https://dev.mysql.com/

Deze verwijzingen en links verwijzen naar documenten die geraadpleegd zijn tijdens het schrijven van deze pagina, of die aanvullende informatie kunnen geven, maar de auteurs van deze bronnen kunnen niet verantwoordelijk worden gehouden voor de inhoud van deze pagina.
De auteur Deze site is als enige verantwoordelijk voor de manier waarop de verschillende concepten, en de vrijheden die met de referentiewerken worden genomen, hier worden gepresenteerd. Vergeet niet dat u meerdere broninformatie moet doorgeven om het risico op fouten te verkleinen.

Inhoudsopgave Haut