Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

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

Fill in the form and get your FREE NFR key NOW!

Veeam® is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

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 …
Working with Network Access Control Lists in Oracle 11g (part 2) Part 1: http://www.e-e.com/A_8429.html Previously, I introduced the basics of network ACL's including how to create, delete and modify entries to allow and deny access.  For many…
This video shows syntax for various backup options while discussing how the different basic backup types work.  It explains how to take full backups, incremental level 0 backups, incremental level 1 backups in both differential and cumulative mode a…
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.

704 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