sqlplus插入中文字符集问题和ORA-01756 quoted string not properly terminated
来源:互联网 发布:win8安装不了软件 编辑:程序博客网 时间:2024/06/07 01:46
实验环境:ORACLE11G、linux5.6
1.进入sqlplus 创建对应的表,插入相关值(包含中文)
2.插入完后,查询该表发现全是乱码
3.查询出当前数据库的字符集信息
4.修改当前用户环境变量,添加NLS_LANG oracle客服端字符环境变量,将该变量和数据库设置成一致。
5.激活当前环境变量,使其生效。
6.在次查询发现已经有变化了,但还是乱码,得将数据删除后重新插入。
7.重新插入后,发现有错误ORA-01756 ,分析得出该错误是由于登陆工具的字符集编码和服务器上的编码不一致导致。
8.只插入了两条
9.修改登录服务器的工具的编码格式
9.在次删除数据后,插入数据。发现没有问题了。
该问题相对简单,但对于不了解的人来说,还是挺麻烦的。如遇到该问题可以做参考。只要改成对应字符集就可。
阅读全文
0 0
- sqlplus插入中文字符集问题和ORA-01756 quoted string not properly terminated
- oracle的sqlplus中插入中文错误:ERROR: ORA-01756: quoted string not properly terminated
- ORA-01756: quoted string not properly terminated问题
- ORA-01756: quoted string not properly terminated问题
- ORA-01756: quoted string not properly terminated问题
- ORA-01756: quoted string not properly terminated报错
- quoted string not properly terminated错误提示
- sqlplus做sql查询,报错 quoted string not properly terminated
- jsp page 提示[page] is not properly terminated
- firebird中文字符集问题 malformed string问题
- sqlplus 中文乱码 字符集设置
- ORA-00933: SQL command not properly ended
- Eclipse中文乱码: String literal is not properly closed by a double-quote eclipse
- Eclipse中文乱码: String literal is not properly closed by a double-quote eclipse
- String literal is not properly closed by
- Ora-12899 字符集问题
- 解决ORACLE字符集为US7ASCII,插入数据中文乱码问题
- JSP中用include标签动态引入其它文件报错:attribute for %>" is not properly terminated
- Burp Suite 暴力破解演示
- 图片base64位编码 favicon.ico在线制作 进制转换等等
- css扫光效果总结,css文字扫光,css图片扫光
- maven的pom报plugins错误
- 牛客网---2016---搜狗火眼金睛
- sqlplus插入中文字符集问题和ORA-01756 quoted string not properly terminated
- 108. Convert Sorted Array to Binary Search Tree
- Android—将Bitmap图片保存到SD卡目录下或者指定目录
- java继承
- Gensim官方教程翻译(六)——分布式计算(Distributed Computing)
- activeMq发送消息变慢
- 定位
- Hdu 6201 transaction transaction transaction【最长路】
- 优化数学基础