12
返回列表 发新帖
楼主: damor96

[原创] 医保接口字符集请教

[复制链接]
招聘 : Java研发
论坛徽章:
71
马上加薪
日期:2014-02-19 11:55:14蜘蛛蛋
日期:2012-12-26 18:16:01茶鸡蛋
日期:2012-11-16 08:12:48ITPUB 11周年纪念徽章
日期:2012-10-09 18:05:07奥运会纪念徽章:网球
日期:2012-08-23 14:58:08奥运会纪念徽章:沙滩排球
日期:2012-07-19 17:28:14版主2段
日期:2012-07-07 02:21:02咸鸭蛋
日期:2012-03-23 18:17:482012新春纪念徽章
日期:2012-02-13 15:13:512012新春纪念徽章
日期:2012-02-13 15:13:51
11#
发表于 2009-3-9 14:32 | 只看该作者
参考


Scope and Application

Under normal circumstances the automatic NLS conversion on a database
link is a good thing, because it means Oracle understands the data on
both sides of the database link. Therefore this note should only be in
very specific circumstances.

If either of the databases in a database link is mis-configured, then as
a short term measure it can be useful to either have no NLS conversion,
or to override the automatic conversion, on this database link.


Moving data across a database link with manual or no NLS conversion

*Normal circumstances*
Database links are used to move data between 2 databases. If the 2
databases have a different character set, then there will be automatic
conversion of data from the character set in the source database to the
character set in the target database. As long as you move (N)(VAR)CHAR
or (N)CLOB data across this is not something that can be switched off in
any way. This will always work automatically.

*Mis-configurations*
If, for whatever reason, you have data that is not stored correctly in
the database character set on the source side of the database link, the
automatic conversion on these database links can lead to problems in the
transfer of data. Here are 2 examples of situations you might find
yourself in, but this issue can occur in very many similar situations as
well:

/Example 1/
The source database stores data that is inserted from US or Western
European Windows machines. However, when this database was created the
US7ASCII character set was chosen. Because the NLS_LANG on the clients
is also set up as US7ASCII the data appears to be loaded correctly in
this database. This is of course an invalid set up, but it all looks
correct â

使用道具 举报

回复
论坛徽章:
47
蒙奇·D·路飞
日期:2017-03-27 08:04:23马上有车
日期:2014-02-18 16:41:112014年新春福章
日期:2014-02-18 16:41:11一汽
日期:2013-09-01 20:46:27复活蛋
日期:2013-03-13 07:55:232013年新春福章
日期:2013-02-25 14:51:24ITPUB 11周年纪念徽章
日期:2012-10-09 18:03:322012新春纪念徽章
日期:2012-02-13 15:13:202012新春纪念徽章
日期:2012-02-13 15:13:202012新春纪念徽章
日期:2012-02-13 15:13:20
12#
发表于 2009-3-10 02:29 | 只看该作者
anlinew, can you tell us the source of the article? Thanks.

Yong Huang

使用道具 举报

回复
招聘 : Java研发
论坛徽章:
71
马上加薪
日期:2014-02-19 11:55:14蜘蛛蛋
日期:2012-12-26 18:16:01茶鸡蛋
日期:2012-11-16 08:12:48ITPUB 11周年纪念徽章
日期:2012-10-09 18:05:07奥运会纪念徽章:网球
日期:2012-08-23 14:58:08奥运会纪念徽章:沙滩排球
日期:2012-07-19 17:28:14版主2段
日期:2012-07-07 02:21:02咸鸭蛋
日期:2012-03-23 18:17:482012新春纪念徽章
日期:2012-02-13 15:13:512012新春纪念徽章
日期:2012-02-13 15:13:51
13#
发表于 2009-3-10 11:51 | 只看该作者
原帖由 Yong Huang 于 2009-3-10 02:29 发表
anlinew, can you tell us the source of the article? Thanks.

Yong Huang


google 关键字:dblink  字符集

[ 本帖最后由 anlinew 于 2009-3-10 13:26 编辑 ]

使用道具 举报

回复

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

本版积分规则 发表回复

TOP技术积分榜 社区积分榜 徽章 团队 统计 知识索引树 积分竞拍 文本模式 帮助
  ITPUB首页 | ITPUB论坛 | 数据库技术 | 企业信息化 | 开发技术 | 微软技术 | 软件工程与项目管理 | IBM技术园地 | 行业纵向讨论 | IT招聘 | IT文档
  ChinaUnix | ChinaUnix博客 | ChinaUnix论坛
CopyRight 1999-2011 itpub.net All Right Reserved. 北京盛拓优讯信息技术有限公司版权所有 联系我们 未成年人举报专区 
京ICP备16024965号-8  北京市公安局海淀分局网监中心备案编号:11010802021510 广播电视节目制作经营许可证:编号(京)字第1149号
  
快速回复 返回顶部 返回列表