DBAsupport.com Forums - Powered by vBulletin
Results 1 to 5 of 5

Thread: DB CHARACTER SET

  1. #1
    Join Date
    Sep 2000
    Posts
    64
    Hello,

    What is the fast way to find the character set of a database (suppose that you lost the script used to create the db) ?

    Thanks

    Sofiane
    Sofiane

  2. #2
    Join Date
    Feb 2001
    Location
    Bombay,India
    Posts
    530
    Hi,
    U can fire a query against v$parameter.The following is the query

    select name,value from v$parameter where name like '%db%';
    or
    in server manager type
    SVRMGR> show parameter db

    In case of any help write to me at rohitsn@altavista.com

    Regards,
    Rohit Nirkhe,Oracle DBA,OCP
    rohitsn@altavista.com

  3. #3
    Join Date
    Nov 2000
    Posts
    89
    SELECT Name,Value$ FROM sys.props$ WHERE Name='NLS_CHARACTERSET';

  4. #4
    Join Date
    Feb 2001
    Posts
    389
    v$parameter will not tell u character set or national character set.

    Actually three ways:

    As said before in thread, query sys.props$

    2) alter database backup controlfile to trace (and open the trace file)

    3) query v$nls_parameters

  5. #5
    Join Date
    Dec 2000
    Location
    Ljubljana, Slovenia
    Posts
    4,439
    There is a public view provided for this:

    SELECT * FROM nls_database_parameters WHERE parameter = 'NLS_CHARACTERSET';
    Jurij Modic
    ASCII a stupid question, get a stupid ANSI
    24 hours in a day .... 24 beer in a case .... coincidence?

Posting Permissions

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


Click Here to Expand Forum to Full Width