Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2009-05-04
4
Medium Priority
?
529 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
  • 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 2000 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

Technology Partners: 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

Why doesn't the Oracle optimizer use my index? Querying too much data Most Oracle developers know that an index is useful when you can use it to restrict your result set to a small number of the total rows in a table. So, the obvious side…
Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
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.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…

885 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