数据导入时的问题

sunnypineapple 2004-05-12 01:27:17
环境Windows XP Oracle8.1.7

我在导入一个.dmp文件的时候,报错说是字符集有错,信息如下:

IMP-00016: required character set conversion (type 852 to 850) not supported
IMP-00000: Import terminated unsuccessfully

Import finished on 2004-5-12 0:50:53

请问哪位大哥能帮帮小弟,
不甚感激!
...全文
45 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
smallcrocodile 2004-05-12
  • 打赏
  • 举报
回复
HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\HOME0下NLS_LANG值就是
sunnypineapple 2004-05-12
  • 打赏
  • 举报
回复
我在导入一个.dmp文件的时候,报错说是字符集有错,信息如下:

IMP-00016: required character set conversion (type 852 to 850) not supported
IMP-00000: Import terminated unsuccessfully


HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\HOME0下NLS_LANG的值在装完oracle的时候是NA
应该把它改成什么?

在SQL/PLUS 里的SQL语句是又是什么呢?
xbm2008 2004-05-12
  • 打赏
  • 举报
回复
修改字符集:
[Q]怎么样查看数据库字符集
[A]数据库服务器字符集select * from nls_database_parameters,其来源于props$,是表示数据库的字符集。
客户端字符集环境select * from nls_instance_parameters,其来源于v$parameter,
表示客户端的字符集的设置,可能是参数文件,环境变量或者是注册表
会话字符集环境 select * from nls_session_parameters,其来源于v$nls_parameters,表示会话自己的设置,可能是会话的环境变量或者是alter session完成,如果会话没有特殊的设置,将与nls_instance_parameters一致。
客户端的字符集要求与服务器一致,才能正确显示数据库的非Ascii字符。如果多个设置存在的时候,alter session>环境变量>注册表>参数文件
字符集要求一致,但是语言设置却可以不同,语言设置建议用英文。如字符集是zhs16gbk,则nls_lang可以是American_America.zhs16gbk。

[Q]怎么样修改字符集
[A]8i以上版本可以通过alter database来修改字符集,但也只限于子集到超集,不建议修改props$表,将可能导致严重错误。
Startup nomount;
Alter database mount exclusive;
Alter system enable restricted session;
Alter system set job_queue_process=0;
Alter database open;
Alter database character set zhs16gbk;
welyngj 2004-05-12
  • 打赏
  • 举报
回复
IMP-00016 required character set conversion (type number to number) not supported

Cause: Import could not convert the character format of the export file into the native character format.

Action: Change the user character set by setting the NLS_LANG environment variable to match the character set of the export file.

17,377

社区成员

发帖
与我相关
我的任务
社区描述
Oracle 基础和管理
社区管理员
  • 基础和管理社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧