Problem: ORA-12701: CREATE DATABASE character set is not known
When I set the character set I made a mistake.Then when start the database again there is an error message like the title.
I can’t open the database so have no idea of redefine the character set.
where can I find the character set parameter that used when the database is created and how to modify it?
Thanks very much.
Solution: ORA-12701: CREATE DATABASE character set is not known
There is only possibility, if you don’t want recreate database (I think, it’s better). There is an information about character set in file, but it’s binary ORACLE CONTROL FILE. You can change it, using CREATE CONTROLFILE … statement, but it’s painful.
1. connect to ORACLE as sysdba
SQL> connect / as sysdba
2. SQL> startup nomount
3. SQL> alter database mount;
4. now database is mounted, but it isn’t opened.
you can select V$ views:
select * from v$logfile;
select * from v$datafile;
5. create statement for CREATE CONTROLFILE with
specification of correct characterset
6. open the database.