MySQL Tutorial/String Functions/CHAR — различия между версиями
Admin (обсуждение | вклад) м (1 версия) |
(нет различий)
|
Текущая версия на 12:49, 26 мая 2010
CHAR() returns a string consisting of the characters given by the code values of those integers
CHAR(N,... [USING charset_name])
CHAR() interprets each argument N as an integer.
NULL values are skipped.
By default, CHAR() returns a binary string.
<source lang="sql">
mysql> mysql> SELECT CHAR(7,2,3,4,5); +-----------------+ | CHAR(7,2,3,4,5) | +-----------------+ | | +-----------------+ 1 row in set (0.00 sec)</source>