Modifying oracle databases and character sets

Source: Internet
Author: User

 

SQL & gt; select userenv ('language') from dual;

USERENV ('language ')

----------------------------------------------------

AMERICAN_AMERICA.WE8ISO8859P1

SQL & gt; select userenv ('language') from dual;

USERENV ('language ')

----------------------------------------------------

AMERICAN_AMERICA.WE8ISO8859P1

SQL & gt; shutdown immetiate;

SP2-0717: illegal SHUTDOWN option

SQL & gt; shutdown immediate;

Database closed.

Database dismounted.

ORACLE instance shut down.

SQL & gt; startup mount;

ORACLE instance started.

Total System Global Area 1828716544 bytes

Fixed Size 2021536 bytes

Variable Size 419432288 bytes

Database Buffers 1392508928 bytes

Redo Buffers 14753792 bytes

Database mounted.

SQL & gt; alter system enable restricted session;

System altered.

SQL & gt; alter system set job_queue_processes = 0;

System altered.

SQL & gt; alter system set aq_tm_processes = 0;

System altered.

SQL & gt; alter database open;

Database altered.

SQL & gt; alter database character set internal_use AL32UTF8;

Database altered.

SQL & gt; select userenv ('language') from dual;

USERENV ('language ')

----------------------------------------------------

AMERICAN_AMERICA.AL32UTF8

SQL & gt; select userenv ('language') from dual;

USERENV ('language ')

----------------------------------------------------

AMERICAN_AMERICA.AL32UTF8

SQL & gt; shutdown immetiate;

SP2-0717: illegal SHUTDOWN option

SQL & gt; shutdown immediate;

Database closed.

Database dismounted.

ORACLE instance shut down.

SQL & gt; startup;

ORACLE instance started.

Total System Global Area 1828716544 bytes

Fixed Size 2021536 bytes

Variable Size 419432288 bytes

Database Buffers 1392508928 bytes

Redo Buffers 14753792 bytes

Database mounted.

Database opened.

SQL & gt; select userenv ('language') from dual;

USERENV ('language ')

----------------------------------------------------

AMERICAN_AMERICA.AL32UTF8

This article is from the "wangyue Feiyu" blog

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.