Solved

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

Posted on 2009-05-04
4
509 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Truncate is a DDL Command where as Delete is a DML Command. Both will delete data from table, but what is the difference between these below statements truncate table <table_name> ?? delete from <table_name> ?? The first command cannot be …
I remember the day when someone asked me to create a user for an application developement. The user should be able to create views and materialized views and, so, I used the following syntax: (CODE) This way, I guessed, I would ensure that use…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.

756 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