How can I tell if my Oracle system is set to support Unicode or multibyte characters?(如何判断我的 Oracle 系统是否设置为支持 Unicode 或多字节字符?)
问题描述
我知道 Oracle 支持多个字符集,但是如何确定我工作的当前 11g 系统是否启用了该功能?
I understand that Oracle supports multiple character sets, but how can determine if the current 11g system where I work has that functionality enabled?
推荐答案
SELECT *
FROM v$nls_parameters
WHERE parameter LIKE '%CHARACTERSET';
将显示数据库和国家字符集.数据库字符集控制CHAR 和VARCHAR2 列中数据的编码.如果数据库在这些列中支持 Unicode,则数据库字符集应为 AL32UTF8(或在极少数情况下为 UTF8).国家字符集控制 NCHAR 和 NVARCHAR2 列中数据的编码.如果数据库字符集不支持 Unicode,您可以将 Unicode 数据存储在具有这些数据类型的列中,但这通常会增加系统的复杂性 - 应用程序可能必须更改以支持国家字符集.
will show you the database and national character set. The database character set controls the encoding of data in CHAR and VARCHAR2 columns. If the database supports Unicode in those columns, the database character set should be AL32UTF8 (or UTF8 in some rare cases). The national character set controls the encoding of data in NCHAR and NVARCHAR2 columns. If the database character set does not support Unicode, you may be able to store Unicode data in columns with these data types but that generally adds complexity to the system-- applications may have to change to support the national character set.
这篇关于如何判断我的 Oracle 系统是否设置为支持 Unicode 或多字节字符?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:如何判断我的 Oracle 系统是否设置为支持 Unicode 或多字节字符?
基础教程推荐
- MySQL 5.7参照时间戳生成日期列 2022-01-01
- 从字符串 TSQL 中获取数字 2021-01-01
- 带更新的 sqlite CTE 2022-01-01
- CHECKSUM 和 CHECKSUM_AGG:算法是什么? 2021-01-01
- ORA-01830:日期格式图片在转换整个输入字符串之前结束/选择日期查询的总和 2021-01-01
- 使用 VBS 和注册表来确定安装了哪个版本和 32 位 2021-01-01
- while 在触发器内循环以遍历 sql 中表的所有列 2022-01-01
- MySQL根据从其他列分组的值,对两列之间的值进行求和 2022-01-01
- 如何在 CakePHP 3 中实现 INSERT ON DUPLICATE KEY UPDATE aka upsert? 2021-01-01
- 带有WHERE子句的LAG()函数 2022-01-01
