更新时间:2023-01-30 19:15:12
使用支持欧元字符的字符集创建一列.
Create a column with a character set that supports the Euro character.
CREATE TABLE MyTable
(
MyEuroColumn VARCHAR(5)
CHARACTER SET utf8
COLLATE utf8_general_ci
);
如果您的编辑器不支持Unicde,则可以将其插入;
If your editor doesn't support Unicde, you can insert it like;
select concat('Five ', _ucs2 0x20AC, ' please!')
您还可以将欧元符号存储在其他字符集中>:
You can also store the Euro symbol in other character sets:
UTF-8 0xE282AC
UCS-16 0x20AC
ISO-8859-15 (latin-9) 0xA4