Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Alter database.....

Posted on 2003-11-12
4
Medium Priority
?
889 Views
Last Modified: 2013-12-12
Hello,
I am having problems with my Oracle 8.1.7
I do not obtain more to go up the database for the following:  a time behind was given to one update in table NLS_DATABASE_PARAMETERS changing character set for a not recognized value for the ORACLE, today, when the database needed to be restarted gave the following error to me:  
Ora-12701:  CREATE DATABASE to character set is not known
Try to make the following :  
SHUTDOWN IMMEDIATE;  
STARTUP MOUNT;  
ALTER SYSTEM ENABLE RESTRICTED SESSION;  
ALTER SYSTEM SET JOB_QUEUE_PROCESSES=0;  
ALTER DATABASE OPEN and again gave the error above (Ora-12701) with this does not obtain to execute ALTER DATABASE CHARACTER SET WEISO8859P1 without the DATABASE to be open.  
You knows what I can make?

Please help me!!!


Thanks,
Eduardo Mariano Pinto - from Brazil
0
Comment
Question by:eduardomariano
4 Comments
 
LVL 4

Expert Comment

by:kalosi
ID: 9735608
You should check the database charset in the controlfile. Try to export your control file with this command

alter database backup controlfile to trace;

a file should be created in your user_dump_dest directory. post the character set from the controlfile please.

david
0
 
LVL 8

Expert Comment

by:baonguyen1
ID: 9736858
You can change character set and national characeter set by

ALTER DATABASE [<db_name>] CHARACTER SET <new_character_set>    
ALTER DATABASE [<db_name>] NATIONAL CHARACTER SET <new_NCHAR_character_set>  

However, this does not change the actual character codes, it only changes the character set declaration.

I think you can not change the above parameters by updating NLS_DATABASE_PARAMETERS  table. THis table  is used to store the NLS parameters that were used when the database was created.

Have you tried with kalosi advise ? I think you have to create a new database with a correct character set and restore from the latest backup.

If anyone has other ideas please advise.
0
 
LVL 22

Expert Comment

by:Helena Marková
ID: 10200394
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

PAQ/Refund.

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

Henka
EE Cleanup Volunteer
0
 

Accepted Solution

by:
SpazMODic earned 0 total points
ID: 10266090
PAQed, with points refunded (50)

SpazMODic
EE Moderator
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Note: this article covers simple compression. Oracle introduced in version 11g release 2 a new feature called Advanced Compression which is not covered here. General principle of Oracle compression Oracle compression is a way of reducing the d…
Cursors in Oracle: A cursor is used to process individual rows returned by database system for a query. In oracle every SQL statement executed by the oracle server has a private area. This area contains information about the SQL statement and the…
This video shows setup options and the basic steps and syntax for duplicating (cloning) a database from one instance to another. Examples are given for duplicating to the same machine and to different machines
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…

926 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