Solved

what is the difference between the following two commands to find the characterset

Posted on 2009-05-04
4
512 Views
Last Modified: 2013-12-18

what is the difference between the following two commands to find the characterset

1.select * from v$nls_parameters;

2. select value from nls_database_parameters where parameter='NLS_CHARACTERSET';

Please advise. Any links, resources, ideas, sample code highly appreciated. Thanks in advance.
0
Comment
Question by:gudii9
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 21

Expert Comment

by:Tapan Pattanaik
ID: 24299099

 Hi gudii9,

 The (ordinary) character set for a database can be determined with:

select value from nls_database_parameters where parameter = 'NLS_CHARACTERSET';
0
 
LVL 21

Accepted Solution

by:
Tapan Pattanaik earned 500 total points
ID: 24299214

Q 1. this command is used for
 

SQL> SELECT * FROM V$NLS_PARAMETERS;
or
SQL> select * from nls_database_parameters;

ans. How to check current database character set?

Q2.  
select value from nls_database_parameters where parameter = 'NLS_CHARACTERSET';

ans. The (ordinary) character set for a database can be determined.
0
 
LVL 21

Expert Comment

by:Tapan Pattanaik
ID: 24299267
0
 
LVL 7

Author Closing Comment

by:gudii9
ID: 31577742
thank you very much
0

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Oracle collections 15 54
TNS timeout - "Error-2147467259 ORA-12170: TNS Connect timeout occurred” 10 81
Oracle Date 6 42
ORACLE SQL DEVELOPER + Compare Tables 5 37
Background In several of the companies I have worked for, I noticed that corporate reporting is off loaded from the production database and done mainly on a clone database which needs to be kept up to date daily by various means, be it a logical…
How to Unravel a Tricky Query Introduction If you browse through the Oracle zones or any of the other database-related zones you'll come across some complicated solutions and sometimes you'll just have to wonder how anyone came up with them.  …
This video explains at a high level about the four available data types in Oracle and how dates can be manipulated by the user to get data into and out of the database.
This video shows how to configure and send email from and Oracle database using both UTL_SMTP and UTL_MAIL, as well as comparing UTL_SMTP to a manual SMTP conversation with a mail server.

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question