当前所在位置:珠峰网资料 >> 计算机 >> Oracle认证 >> 正文
修改oracle数据库字符集的方法(一)
发布时间:2010/9/10 14:44:44 来源:www.xue.net 编辑:城市总裁吧

  -

  \>sqlplus "/ as sysdba"

  SQL*Plus: Release 9.2.0.4.0 - Production on Sat Nov 1 10:52:30 2003

  Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.

  Connected to:

  Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production

  With the Partitioning, Oracle Label Security, OLAP and Oracle Data Mining options

  JServer Release 9.2.0.4.0 - Production

  SQL> shutdown immediate

  Database closed.

  Database dismounted.

  ORACLE instance shut down.

  SQL> STARTUP MOUNT;

  ORACLE instance started.

  Total System Global Area   76619308 bytes

  Fixed Size                   454188 bytes

  Variable Size              58720256 bytes

  Database Buffers           16777216 bytes

  Redo Buffers                 667648 bytes

  Database mounted.

  SQL> ALTER SESSION SET SQL_TRACE=TRUE;

  Session altered.

  SQL> ALTER SYSTEM ENABLE RESTRICTED SESSION;

  System altered.

  SQL> ALTER SYSTEM SET JOB_QUEUE_PROCESSES=0;

  System altered.

  SQL> ALTER SYSTEM SET AQ_TM_PROCESSES=0;

  System altered.

  SQL> ALTER DATABASE OPEN;

  Database altered.

  SQL> set linesize 120;

  SQL> alter database character set zhs16gbk;

  alter database character set zhs16gbk

  *

广告合作:400-664-0084 全国热线:400-664-0084
Copyright 2010 - 2017 www.my8848.com 珠峰网 粤ICP备15066211号
珠峰网 版权所有 All Rights Reserved