Oracle 5.0 Reference Manual page 1195

Table of Contents

Advertisement

13.7.5.3.
SHOW CHARACTER SET
SHOW CHARACTER SET
[LIKE 'pattern' | WHERE expr]
The
SHOW CHARACTER SET
present, indicates which character set names to match. The
using more general conditions, as discussed in
example:
mysql>
SHOW CHARACTER SET LIKE 'latin%';
+---------+-----------------------------+-------------------+--------+
| Charset | Description
+---------+-----------------------------+-------------------+--------+
| latin1
| cp1252 West European
| latin2
| ISO 8859-2 Central European | latin2_general_ci |
| latin5
| ISO 8859-9 Turkish
| latin7
| ISO 8859-13 Baltic
+---------+-----------------------------+-------------------+--------+
The
Maxlen
13.7.5.4.
SHOW COLLATION
SHOW COLLATION
[LIKE 'pattern' | WHERE expr]
This statement lists collations supported by the server. By default, the output from
includes all available collations. The
match. The
WHERE
Section 19.18, "Extensions to
mysql>
SHOW COLLATION LIKE 'latin1%';
+-------------------+---------+----+---------+----------+---------+
| Collation
+-------------------+---------+----+---------+----------+---------+
| latin1_german1_ci | latin1
| latin1_swedish_ci | latin1
| latin1_danish_ci
| latin1_german2_ci | latin1
| latin1_bin
| latin1_general_ci | latin1
| latin1_general_cs | latin1
| latin1_spanish_ci | latin1
+-------------------+---------+----+---------+----------+---------+
The
Collation
which it is associated.
its character set.
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.
word, so to use it as an identifier, it must be quoted as such:
mysql>
SHOW COLLATION WHERE `Default` = 'Yes';
+---------------------+----------+----+---------+----------+---------+
| Collation
and analysis. See
Log
Files".
Note
Some events relating to the setting of user and system variables are not
included in the output from
of events within a binary log, use mysqlbinlog.
Syntax
statement shows all available character sets. The
column shows the maximum number of bytes required to store one character.
Syntax
clause can be given to select rows using more general conditions, as discussed in
Statements". For example:
SHOW
| Charset | Id | Default | Compiled | Sortlen |
|
5 |
|
8 | Yes
| latin1
| 15 |
| 31 |
| latin1
| 47 |
| 48 |
| 49 |
| 94 |
and
columns indicate the names of the collation and the character set with
Charset
is the collation ID.
Id
indicates whether the character set is compiled into the server.
Compiled
| Charset
| Id | Default | Compiled | Sortlen |
Syntax
SHOW
Section 4.6.7,
"mysqlbinlog
SHOW BINLOG
Section 19.18, "Extensions to
| Default collation | Maxlen |
| latin1_swedish_ci |
| latin5_turkish_ci |
| latin7_general_ci |
[896]
clause, if present, indicates which collation names to
LIKE
|
| Yes
|
| Yes
| Yes
|
|
|
indicates whether the collation is the default for
Default
1175
— Utility for Processing Binary
EVENTS. To get complete coverage
LIKE
clause can be given to select rows
WHERE
SHOW
1 |
1 |
1 |
1 |
SHOW COLLATION
|
0 |
|
0 |
|
0 |
|
2 |
|
0 |
|
0 |
|
0 |
|
0 |
Default
[896]
clause, if
Statements". For
Sortlen
is a reserved

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents