测试csdn代码显示


sqlplus / as sysdba

shutdown immediate;

startup mount;

alter system enable restricted session;

alter system set aq_tm_processes=0;

alter system set job_queue_processes=0;

alter database open;

alter database character set internal_use zhs16gbk;

shutdown immediate;

startup;



以下为示例:

C:\Users\wj>sqlplus / as sysdba

SQL*Plus: Release 11.2.0.1.0 Production on 星期三 8月 3 16:35:00 2016

Copyright (c) 1982, 2010, Oracle.  All rights reserved.


连接到:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

SQL> shutdown immediate;
数据库已经关闭。
已经卸载数据库。
ORACLE 例程已经关闭。
SQL> startup mount;
ORACLE 例程已经启动。

Total System Global Area 1071333376 bytes
Fixed Size                  1375792 bytes
Variable Size             536871376 bytes
Database Buffers          528482304 bytes
Redo Buffers                4603904 bytes
数据库装载完毕。
SQL> alter system enable restricted session;

系统已更改。

SQL> alter system set aq_tm_processes=0;

系统已更改。

SQL> alter system set job_queue_processes=0;

系统已更改。

SQL> alter database open;

数据库已更改。

SQL> alter database character set internal_use zhs16gbk;

数据库已更改。

SQL> shutdown immediate;
数据库已经关闭。
已经卸载数据库。
ORACLE 例程已经关闭。
SQL> startup;
ORACLE 例程已经启动。

Total System Global Area 1071333376 bytes
Fixed Size                  1375792 bytes
Variable Size             536871376 bytes
Database Buffers          528482304 bytes
Redo Buffers                4603904 bytes
数据库装载完毕。

你可能感兴趣的:(oracle)