Oracle Database Character Set query

Source: Internet
Author: User

1> Database Server Character Set

SELECT * from Nls_database_parameters, which is derived from props$, is the character set representing the database.

The query results are as follows

Nls_language AMERICAN
Nls_territoryamerica
nls_currency$
Nls_iso_currencyamerica
Nls_numeric_characters.,
Nls_characterset Al32utf8
Nls_calendargregorian
Nls_date_formatdd-mon-rr
Nls_date_languageamerican
Nls_sortbinary
Nls_time_formathh.mi. Ssxff AM
NLS_TIMESTAMP_FORMATDD-MON-RR HH.MI. Ssxff AM
Nls_time_tz_formathh.mi. Ssxff AM TZR
NLS_TIMESTAMP_TZ_FORMATDD-MON-RR HH.MI. Ssxff AM TZR
nls_dual_currency$
Nls_compbinary
Nls_length_semanticsbyte
Nls_nchar_conv_excpfalse
Nls_nchar_characterset Al16utf16
nls_rdbms_version11.2.0.2.0

The difference between 1.1>nls_characterset and Nls_nchar_characterset

Nls_characterset: is the database character set;

Nls_nchar_characterset: is the national character set;


There are two major types of character data in Oracle:

VARCHAR2: data is stored according to the database character set.

NVARCHAR2: data is stored according to the national character set.

CHAR: data is stored according to the database character set.

NCHAR: data is stored according to the national character set.

  

2> Client Character Set environment

SELECT * from Nls_instance_parameters, which originates from V$parameter,

Oracle Database Character Set query

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.