select tab1.aa||'_'||tab2.bb||'.'||tab3.cc from (select VALUE$ aa from sys.props$ where name='NLS_LANGUAGE')tab1,(select VALUE$ bb from sys.props$ where name='NLS_ISO_CURRENCY')tab2,(select VALUE$ cc from sys.props$ where name='NLS_CHARACTERSET')tab3先执行上面的查询, 把nls_lang的值用查到的结果来替换. 然后再试试看.
有问题吗,如何修改?谢谢
windows下可编辑注册表\H_L_M\software\oracle\home下的NLS_lang的值为SIMPLIFIED CHINESE_CHINA.ZHS16GBK
不过,我自己刚搞出来了。
也就是说,你的客户端和服务端的字符集要一致。
你现在是utf16也就是unicode的。
而很可能你的客户端是gbk的。这时,插入数据和显示数据都可能出错。
所以,你都改成gbk即可。
然后,再插入数据就可以了。呵呵!