If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > how to get list of supported character sets by querying the database

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-03-04, 11:12
sut sut is offline
Registered User
 
Join Date: Jul 2004
Posts: 1
how to get list of supported character sets by querying the database

Database: DB2 V8.1 ESE
newbie question for learning: How do I get a list of all the character sets the current database can be set to, by querying the database (not from documentation).

For example, I can get this info from oracle and sybase databases as follows:
oracle> select value from x$ksulv where parameter='CHARACTERSET';
sybase> select name from master..syscharsets

Is there a similar way to do it in DB2 also?
Reply With Quote
  #2 (permalink)  
Old 09-03-04, 11:46
n_i n_i is online now
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
The DB2 database character set is defined at the database creation time and cannot be changed afterwards. To see with what character set the database has been created use "get db cfg for <db name>"
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On