a我考网

 找回密码
 立即注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

查看: 97|回复: 0

[考试辅导] Oracle技术:如何修改oracle数据库字符集的方法

[复制链接]
发表于 2012-8-4 14:06:19 | 显示全部楼层 |阅读模式
>sqlplus "/ as sysdba"   SQL*Plus: Release 9.2.0.4.0 - Production on Sat Nov 1 10:52:30 2003
  @! g% {' R+ |; }9 r# L! @  y  q3 o  Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved." W$ h% s7 _! {4 F4 |, c
  Connected to:
" k8 i' X5 c+ i& C; a  Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production, I. Y1 I* r5 H# p7 D
  With the Partitioning, Oracle Label Security, OLAP and Oracle Data Mining options/ L, D8 Z  G5 s1 y2 s5 A
  JServer Release 9.2.0.4.0 - Production
( N) M/ Z$ G0 Y* U  SQL> shutdown immediate
0 ]5 M; K$ T9 e# b' L  Database closed., v  t8 r- e# g* R! R! |
  Database dismounted.
1 `2 k" |; g, J4 l# H' h  ORACLE instance shut down.; S; b: ]7 G8 O: M+ f6 \
  SQL> STARTUP MOUNT;& J( Q  O( a( r: F9 `
  ORACLE instance started.
3 p. Q0 s  O1 h0 f  Total System Global Area   76619308 bytes+ R3 @: o; x/ L7 t& I; d' L) {3 R/ m
  Fixed Size                   454188 bytes5 M( W4 [! p) g3 c0 W
  Variable Size              58720256 bytes
  n$ K. }) C( f) B4 G+ G  Database Buffers           16777216 bytes0 J/ }. n3 F5 K+ d
  Redo Buffers                 667648 bytes" i5 I" |9 d* e+ f4 a! P1 F$ W: A
  Database mounted./ |. i. j' l# |/ H' ~
  SQL> ALTER SESSION SET SQL_TRACE=TRUE;
: C* t' y2 W# c  Session altered.
& t) K/ n7 a" t0 Z: Y  SQL> ALTER SYSTEM ENABLE RESTRICTED SESSION;
! t! c# i; \* z) f  System altered.
# W# Y  i' n  b7 v4 K$ ?  SQL> ALTER SYSTEM SET JOB_QUEUE_PROCESSES=0;
; s( _: r# ~# A6 j  System altered.
, G& j2 I7 R- a; N1 E  SQL> ALTER SYSTEM SET AQ_TM_PROCESSES=0;$ b( ]+ G6 l* ?
  System altered.& A, j& m5 i/ f0 |% C9 j
  SQL> ALTER DATABASE OPEN;* M! |- L. O& v% f
  Database altered.4 Q6 y4 h- S/ R5 M1 E4 o3 u
  SQL> set linesize 120;
7 a" S7 c0 |9 n/ j  SQL> alter database character set zhs16gbk;+ P6 _* O4 K3 N1 o7 E
  alter database character set zhs16gbk
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Woexam.Com ( 湘ICP备18023104号 )

GMT+8, 2024-5-5 02:12 , Processed in 0.226828 second(s), 21 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表