##CHARACTER SET
specifies the character set the database uses to store data. You cannot change the database character set after creating the database. The supported character sets and default value of this parameter depend on your operating system.
You can specify any supported character set except the following fixed-width, multibyte character sets, which can be used only as the national character set:
JA16SJISFIXED
JA16EUCFIXED
JA16DBCSFIXED
parameter is NLS_CHARACTERSET.
## NATIONAL CHARACTER SET
specifies the national character set used to store data in columns specifically defined as NCHAR, NCLOB, or NVARCHAR2. You cannot change the national character set after creating the database. If not specified, the national character set defaults to the database character set. See oracle8 Reference for valid character set names.
parameter is NLS_NCHAR_CHARACTERSET in database
you can use following query to check the value of the value of bath parameters,
col parameter format a25
col value format a20
Select *
FROM nls_database_parameters
Where parameter like ‘%NLS%’
/
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/25380220/viewspace-716323/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/25380220/viewspace-716323/
本文介绍了如何设置数据库的字符集和国家字符集,并说明了这些设置的重要性。文章详细解释了哪些字符集可以被用作数据库字符集,哪些只能作为国家字符集使用。此外,还提供了查询当前设置的方法。
472

被折叠的 条评论
为什么被折叠?



