Deveshdba Wordpress Com PDF

You might also like

You are on page 1of 4

deveshdba

get sum oracle stuffs

How to nd the Character set of the Oracle database.

Posted on February 14, 2012 by deveshdba


The database character set in oracle determines the set of characters can be stored in the database. It is also used to determine the character set to
be used for object identi ers and PL/SQL variables and for storing PL/SQL program source.
The database character set information is stored in the data dictionary tables named SYS.PROPS$.
You can get the character set used in the database by SYS.PROPS$ table or any other views (like database_properties/ nls_database_parameters)
exist in the database. The parameter NLS_CHARACTERSET value contains the database character set name.
As show parameter does not tell you your database char set, Here Im listing some commands to nd the database character set:

SQL> select * from nls_database_parameters


2

where parameter='NLS_CHARACTERSET';

PARAMETER

VALUE

------------------------------ ---------------------------------------NLS_CHARACTERSET

WE8MSWIN1252

============================================================================================

SQL> SELECT value$ FROM sys.props$ WHERE name = 'NLS_CHARACTERSET' ;

VALUE$
---------------------------------------------------------------------------

WE8MSWIN1252

============================================================================================

converted by Web2PDFConvert.com

SQL> SELECT * FROM NLS_DATABASE_PARAMETERS;

PARAMETER

VALUE

------------------------------ ---------------------------------------NLS_LANGUAGE

AMERICAN

NLS_TERRITORY

AMERICA

NLS_CURRENCY

NLS_ISO_CURRENCY

AMERICA

NLS_NUMERIC_CHARACTERS

.,

NLS_CHARACTERSET

WE8MSWIN1252

NLS_CALENDAR

GREGORIAN

NLS_DATE_FORMAT

DD-MON-RR

NLS_DATE_LANGUAGE

AMERICAN

NLS_SORT

BINARY

NLS_TIME_FORMAT

HH.MI.SSXFF AM

PARAMETER

VALUE

------------------------------ ---------------------------------------NLS_TIMESTAMP_FORMAT

DD-MON-RR HH.MI.SSXFF AM

NLS_TIME_TZ_FORMAT

HH.MI.SSXFF AM TZR

NLS_TIMESTAMP_TZ_FORMAT

DD-MON-RR HH.MI.SSXFF AM TZR

NLS_DUAL_CURRENCY

NLS_COMP

BINARY

NLS_LENGTH_SEMANTICS

BYTE

NLS_NCHAR_CONV_EXCP

FALSE

NLS_NCHAR_CHARACTERSET

AL16UTF16

NLS_RDBMS_VERSION

11.1.0.6.0

20 rows selected.

converted by Web2PDFConvert.com

Share this:

Twitter

Facebook

Loading...

Related

Enable/ Disable Archivelog Mode oracle 10g/11g


Physical Standby Database Lags Far Behind the Primary Database OR Recovering Standby database from missing/ corrupted Archive Logs
Not able to rename the data le due to junk characters in data le name (/oradata12/BCFPRD/dbf/ts_cfprd_ind_5r9[C[C[C[C)

Posted in General

ORA-28001: the password has expired

ORA-28547: connection to server failed, probable Oracle Net admin error ( DBCA Error )

One thought on How to nd the Character set of the Oracle database.

sultan

August 18, 2012 at 2:19 AM

very helpful .
Reply

Leave a Reply
Enter your comment here...

converted by Web2PDFConvert.com

Create a free website or blog at WordPress.com.

Follow

Follow
deveshdba
Get every new post
delivered to your Inbox.
Enter your email address
Sign me up
Build a website with
WordPress.com

converted by Web2PDFConvert.com

You might also like