Oracle Common Operations

Source: Internet
Author: User
Tags sqlplus

CMD command starts

Sqlplus/nolog--Visit sqlplus

Connect/as SYSDBA--dba Identity Login

SHUTDOWN IMMEDIATE; --Close the database

SELECT * from V$nls_parameters; --View the database character set

ORA-12899 error value too large for column

Code to copy code as follows

[email protected]>shutdown IMMEDIATE;
Database closed.
Database dismounted.
ORACLE instance shut down.
[email protected]>startup MOUNT
ORACLE instance started.

Total System Global area 939495424 bytes
Fixed Size 2233960 bytes
Variable Size 671091096 bytes
Database buffers 260046848 bytes
Redo buffers 6123520 bytes
Database mounted.
[email protected]>alter SYSTEM ENABLE RESTRICTED SESSION;

System altered.

elapsed:00:00:02.19
[email protected]>alter SYSTEM SET job_queue_processes=0;

System altered.

elapsed:00:00:00.02
[email protected]>alter SYSTEM SET aq_tm_processes=0;

System altered.

elapsed:00:00:00.01
[email protected]>alter DATABASE OPEN;

Database altered.

elapsed:00:00:05.09
[email protected]>alter DATABASE CHARACTER SET ZHS16GBK;
ALTER DATABASE CHARACTER SET ZHS16GBK
*
ERROR at line 1:
ORA-00911: Invalid character


elapsed:00:00:00.00

---the character set is incompatible, this time with the internal_use instruction does not check the character set superset

Code to copy code as follows

[email protected]>alter DATABASE CHARACTER SET internal_use ZHS16GBK;


Database altered.

Oracle Common Operations

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.