Results 1 to 6 of 6

Thread: character set

  1. #1
    Join Date
    Feb 2004
    Location
    Dublin, Ireland
    Posts
    212

    Unanswered: character set

    How can I check in what character set was created database?

  2. #2
    Join Date
    Sep 2004
    Posts
    17
    select * from nls_database_parameters;

    the value of the parameter NLS_CHARACTERSET shows the character set.

    Alex

  3. #3
    Join Date
    Feb 2004
    Location
    Dublin, Ireland
    Posts
    212
    ok, thanx
    my next question is: is it posible to change database character set?
    if yes, how?

  4. #4
    Join Date
    Sep 2004
    Posts
    17
    yes it is possible.

    The below link will explain in detail :
    http://www.oracledba.co.uk/tips/character_set.htm

    ex:

    UPDATE SYS.PROPS$
    SET VALUES$ = 'WE8ISO8859P1'
    WHERE NAME = 'NLS_CHARACTERSET';

    It is VERY important to specify the character set name correctly. If the NLS_CHARACTERSET is updated to an invalid value, it will not then be possible to restart the database once it has been shutdown.

  5. #5
    Join Date
    Feb 2004
    Location
    Dublin, Ireland
    Posts
    212
    thanx for info...

  6. #6
    Join Date
    Sep 2004
    Posts
    17
    I would prefer that way:

    In a restricted session:

    # Change the database character set
    alter database character set WE8ISO8859P1;
    alter database national character set WE8ISO8859P1;

    The new character set must be superset of the old one.

    And oracle has a db scan utility, that checks, if a character set conversion would work. But I don't know, what it's name is ...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •