oracle编码的修改

Microsoft Windows [版本 6.1.7601]

版权所有 (c) 2009 Microsoft Corporation。保留所有权利。

 

C:\Users\Administrator>select * from props$ where name='NLS_CHARACTERSET'

'select' 不是内部或外部命令,也不是可运行的程序

或批处理文件。

 

C:\Users\Administrator>sqlno

'sqlno' 不是内部或外部命令,也不是可运行的程序

或批处理文件。

 

C:\Users\Administrator>sqlplus /nolog 

 

SQL*Plus: Release 11.2.0.1.0 Production on 星期一 2月 9 17:06:03 2015

 

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

 

ERROR:

ORA-01017: invalid username/password; logon denied

 

 

请输入用户名:  scott

输入口令:scott

 

连接到:

Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production

With the Partitioning, OLAP, Data Mining and Real Application Testing options

 

SQL> select * from props$ where name='NLS_CHARACTERSET'; 

  2

SQL> select userenv('language') from dual;

 

USERENV('LANGUAGE')

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

SIMPLIFIED CHINESE_CHINA.ZHS16GBK

 

SQL> select * from orcl where parameter ='NLS_CHARACTERSET';

select * from orcl where parameter ='NLS_CHARACTERSET'

              *

第 1 行出现错误:

ORA-00942: 表或视图不存在

 

 

SQL> select * from nls_database_parameters where parameter ='NLS_CHARACTERSET';

 

PARAMETER

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

VALUE

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

 

NLS_CHARACTERSET

ZHS16GBK

 

 

SQL> select * from nls_instance_parameters where parameter='NLS_LANGUAGE';

 

PARAMETER

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

VALUE

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

 

NLS_LANGUAGE

AMERICAN

 

 

SQL> conn /as sysdba

已连接。

SQL> shutdown immediate;

数据库已经关闭。

已经卸载数据库。

ORACLE 例程已经关闭。

SQL> startup mount

ORACLE 例程已经启动。

 

Total System Global Area 1670221824 bytes

Fixed Size                  2176328 bytes

Variable Size            1107299000 bytes

Database Buffers          553648128 bytes

Redo Buffers                7098368 bytes

数据库装载完毕。

SQL> ALTER SYSTEM ENABLE RESTRICTED SESSION;

 

系统已更改。

 

SQL> ALTER SYSTEM SET JOB_QUEUE_PROCESSES=0;

 

系统已更改。

 

SQL> ALTER SYSTEM SET AQ_TM_PROCESSES=0;

 

系统已更改。

 

SQL> alter database open;

 

数据库已更改。

 

SQL> ALTER DATABASE CHARACTER SET AL32UTF8

  2

SQL> ALTER DATABASE character set INTERNAL_USE AL32UTF8;

 

数据库已更改。

 

SQL> shutdown immediate;

数据库已经关闭。

已经卸载数据库。

ORACLE 例程已经关闭。

SQL> startup

ORACLE 例程已经启动。

 

Total System Global Area 1670221824 bytes

Fixed Size                  2176328 bytes

Variable Size            1107299000 bytes

Database Buffers          553648128 bytes

Redo Buffers                7098368 bytes

数据库装载完毕。

数据库已经打开。

SQL>

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值