mysqlmysql
<!-- lang: shell --> show variables like 'character\_set\_%'; show variables like 'collation_%';
sqlserversql
<!-- lang: shell --> SELECT COLLATIONPROPERTY('Chinese_PRC_Stroke_CI_AI_KS_WS', 'CodePage')
下面是查詢結果:shell
936 簡體中文GBKsqlserver
950 繁體中文BIG5code
437 美國/加拿大英語server
932 日文unicode
949 韓文io
866 俄文查詢
65001 unicode UFT-8英語