Oracle modifies the character set of a database instance

Source: Internet
Author: User

Run the following commands in sqlplus:

Connect system as sysdba; -- Be sure to log in as DBA; otherwise, an error will be reported below
Shutdown immediate; -- this is to disable the session currently connected to the database. If a session is connected to the database, changing the character set is not allowed.
Startup Mount; -- restart
Alter system enable restricted session; -- disable normal user logon
Alter system set job_queue_processes = 0;
Alter system set aq_tm_processes = 0;
Alter database open;
Alter database character set internal_use utf8; -- utf8 is the target character set zhs16gbk to be modified
Shutdown immediate;
Startup;

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.