2022年字符集为ZHSGBK的数据库导入到字符集为ALUTF的数据库收集 .pdf
《2022年字符集为ZHSGBK的数据库导入到字符集为ALUTF的数据库收集 .pdf》由会员分享,可在线阅读,更多相关《2022年字符集为ZHSGBK的数据库导入到字符集为ALUTF的数据库收集 .pdf(9页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、相信大家都对字符集有相当的了解了,废话就不多说了!直接步入正题:这里主要是测试含有 汉字的数据从ZHS16GBK 的数据库导入到字符集为AL32UTF8 数据库.如有我没想到的其他情况,请大家提建议,我继续完善测试实验。测试环境:目标库:英杰的rac 测试库由Oracle Database 11g Enterprise Edition Release 11.2.0.1.0-64bit Production With the Partitioning,Real Application Clusters,Automatic Storage Management,OLAP,Data Mining a
2、nd Real Application Testing options sysrac1select userenv(language)from dual;USERENV(LANGUAGE)-AMERICAN_AMERICA.AL32UTF8 yangrac1select*from nls_database_parameters;PARAMETER VALUE-NLS_LANGUAGE AMERICAN NLS_TERRITORY AMERICA NLS_CURRENCY$NLS_ISO_CURRENCY AMERICA NLS_NUMERIC_CHARACTERS.,NLS_CHARACTER
3、SET AL32UTF8 NLS_CALENDAR GREGORIAN NLS_DA TE_FORMAT DD-MON-RR NLS_DA TE_LANGUAGE AMERICAN NLS_SORT BINARY NLS_TIME_FORMAT HH.MI.SSXFF AM NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZR NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZR NLS_DUAL_CURRENCY$NLS_COM
4、P BINARY NLS_LENGTH_SEMANTICS BYTE NLS_NCHAR_CONV_EXCP FALSE NLS_NCHAR_CHARACTERSET AL16UTF16 NLS_RDBMS_VERSION 11.2.0.1.0 20 rows selected.源库:Release 11.1.0.6.0-Production on Friday,11 March,2011 21:11:49 Conneted to:Oracle Database 11g Enterprise Edition Release 11.1.0.6.0-Production With the Part
5、itioning,OLAP,Data Mining and Real Application Testing options 名师资料总结-精品资料欢迎下载-名师精心整理-第 1 页,共 9 页 -源库的 nls_ 信息:sysORACL select*from nls_database_parameters;PARAMETER VALUE-NLS_LANGUAGE AMERICAN NLS_TERRITORY AMERICA NLS_CURRENCY$NLS_ISO_CURRENCY AMERICA NLS_NUMERIC_CHARACTERS.,NLS_CHARACTERSET ZHS16
6、GBK NLS_CALENDAR GREGORIAN NLS_DA TE_FORMAT DD-MON-RR NLS_DA TE_LANGUAGE AMERICAN NLS_SORT BINARY NLS_TIME_FORMAT HH.MI.SSXFF AM NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZR NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZR NLS_DUAL_CURRENCY$NLS_COMP BINARY
7、NLS_LENGTH_SEMANTICS BYTE NLS_NCHAR_CONV_EXCP FALSE NLS_NCHAR_CHARACTERSET AL16UTF16 NLS_RDBMS_VERSION 11.1.0.6.0 测试步骤:这里主要是测试含有汉字的数据从ZHS16GBK 导入到AL32UTF8.在源库创建含有汉字的表:yangORACL create table chart(val varchar2(20);表已创建。=创建英文字符数据yangORACL insert into chart 2 select dbms_random.string(l,15)3 from dual
8、4 connect by level insert into chart 2 select 阿里云 as val from 3 dual connect by level select*from chart;VAL-名师资料总结-精品资料欢迎下载-名师精心整理-第 2 页,共 9 页 -ogqodcrhyqaesks zifjvopjwwvydjf oaosnvrzjazdmju ihpjfwpgzxlbosn igimjnzkjbaiivf jxqmgavtpfmlphf izgrniqmuejiysb cydqjrbjldnsucq sikpsorziznhyly bxstvwdqrqmn
9、ylp ziveucwqsjbmlpu qdhdwjoxthivxoe dqideijubqlzeel qtuyuiwnjigrqcj gzgamguukwgogib ufrnfcdtcnmxatg rpuhrxfzzwmajec kqsawluuwltmdbf mlkfeymlhbqsrwj fokunjivnccjhls drlkbryvpklhlst vaigghwmwspounp qpdslsjqszpasgg cevwjirdyowhzep gpktcxauilvpjym oyrrpyxlroflksp hqfctsysbpnzkfi ufcqglfwqgvuwdv nhloooih
10、rndmrcu grrtelwqpgnmazw olzmdcotmziiphj fmohaagtultvxon lwsqzgofvhgzajm vcdeoomgsrzfvjr pzpfqhpenensoij nbvxphjkufcvxmj ydfknwhpnzzpvsw xzhooomfumuckdc rohspaowywmblti dhjctrkkrdlyhvr yzevspqkpuumjzh xqmdpotvouvzgzl rnvcrercdxybwlt zhbdhamarftudbr 名师资料总结-精品资料欢迎下载-名师精心整理-第 3 页,共 9 页 -biykwlracluonab
11、hsdpycatadxhpft wskchunnmvkbprh butuurwduseffzc fosmnbjannddffp 阿里云阿里云阿里云阿里云阿里云阿里云阿里云阿里云阿里云阿里云阿里云阿里云阿里云阿里云阿里云阿里云阿里云阿里云阿里云阿里云阿里云阿里云阿里云阿里云阿里云阿里云阿里云阿里云阿里云阿里云阿里云阿里云阿里云阿里云阿里云阿里云阿里云阿里云阿里云名师资料总结-精品资料欢迎下载-名师精心整理-第 4 页,共 9 页 -阿里云阿里云阿里云阿里云阿里云阿里云阿里云阿里云阿里云阿里云已选择 98 行。yangORACL commit;提交完成。yangORACL select dump(
12、阿里云)from dual;DUMP(阿里云)-Typ=96 Len=6:176,162,192,239,212,198=三个汉字 占用 6 个字节=导出操作=Microsoft Windows 版本6.1.7600 版权所有(c)2009 Microsoft Corporation。保留所有权利。C:Usersaaaaset nls_lang=american_america.al32utf8 这里后面测试不加也可以成功导入al32utf8 C:Usersaaaaexpdp yang/yang tables=chart directory=dumpdir dumpfile=zhs16gbk.
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 2022年字符集为ZHSGBK的数据库导入到字符集为ALUTF的数据库收集 2022 字符集 ZHSGBK 数据库 导入 ALUTF 收集
限制150内