当前位置:网站首页>Solve the problem of database insert data garbled in PL / SQL developer
Solve the problem of database insert data garbled in PL / SQL developer
2020-11-06 01:23:00 【itread01】
I've been studying recently SSM Project development , be used oracle Database ,
Using management software PL/sql developer Record garbled code when inserting data into database table .
The results are as follows :
You can see that the Chinese materials are all garbled ??????? Question mark ,
Read the solutions of the big guys on the Internet , It's because of oracle Server side character encoding and Oracle Client character encoding inconsistency caused by .
( But my oracle Server side and Oracle The client character encoding is the same , I wonder , But the same solution is used , Get it done !!!)
First step :
Log in PL/sql developer, Check Oracle Server side character encoding , use
select userenv('language') from dual;
The following results are obtained :
It turns out :
SIMPLIFIED CHINESE_CHINA.ZHS16GBK
The second step :
Look at Oracle Client character encoding , use
select * from V$NLS_PARAMETERS;
The following results are obtained :
You can see my oracle Server side and Oracle The client character encoding is the same , It doesn't matter. Keep looking down
The third step :
stay windows Zhongchuang Build one called “NLS_LANG” System environment variables of ,
Set the value to “SIMPLIFIED CHINESE_CHINA.ZHS16GBK”, Follow oracle Server side character encoding is consistent , And then restart pl/sql developer
Can solve the problem of garbled code !!!
Add 1:( Problem solving can ignore the following )
After the students who have the same problem with me finish the above steps , Login again PL/Sql developer The data still shows garbled code .
Then the solution is :
Delete the table , Please delete the table , Instead of just deleting the data in the table ,
And then rebuild the watch , Re insert data , Find the problem and solve it !!!
Add 2: Because it's using idea Do development , So it's direct use idea in database Connect to the database , And then rebuild the watch , Insert data ,
Direct use PL/Sql developer Never tried , It should also be possible .
&n
版权声明
本文为[itread01]所创,转载请带上原文链接,感谢
边栏推荐
- Just now, I popularized two unique skills of login to Xuemei
- vue-codemirror基本用法:实现搜索功能、代码折叠功能、获取编辑器值及时验证
- 前端基础牢记的一些操作-Github仓库管理
- Network security engineer Demo: the original * * is to get your computer administrator rights! 【***】
- keras model.compile Loss function and optimizer
- Programmer introspection checklist
- What problems can clean architecture solve? - jbogard
- 小程序入门到精通(二):了解小程序开发4个重要文件
- How to use parameters in ES6
- Keyboard entry lottery random draw
猜你喜欢
Filecoin的经济模型与未来价值是如何支撑FIL币价格破千的
前端基础牢记的一些操作-Github仓库管理
CCR炒币机器人:“比特币”数字货币的大佬,你不得不了解的知识
ES6学习笔记(二):教你玩转类的继承和类的对象
做外包真的很难,身为外包的我也无奈叹息。
從小公司進入大廠,我都做對了哪些事?
[C / C + + 1] clion configuration and running C language
From zero learning artificial intelligence, open the road of career planning!
axios学习笔记(二):轻松弄懂XHR的使用及如何封装简易axios
Character string and memory operation function in C language
随机推荐
Analysis of react high order components
Filecoin主网上线以来Filecoin矿机扇区密封到底是什么意思
至联云分享:IPFS/Filecoin值不值得投资?
Using consult to realize service discovery: instance ID customization
Vue 3 responsive Foundation
I've been rejected by the product manager. Why don't you know
Let the front-end siege division develop independently from the back-end: Mock.js
6.5 request to view name translator (in-depth analysis of SSM and project practice)
Python + appium automatic operation wechat is enough
Subordination judgment in structured data
Deep understanding of common methods of JS array
Grouping operation aligned with specified datum
一篇文章带你了解SVG 渐变知识
Face to face Manual Chapter 16: explanation and implementation of fair lock of code peasant association lock and reentrantlock
“颜值经济”的野望:华熙生物净利率六连降,收购案遭上交所问询
JVM memory area and garbage collection
Python download module to accelerate the implementation of recording
vue任意关系组件通信与跨组件监听状态 vue-communication
比特币一度突破14000美元,即将面临美国大选考验
使用 Iceberg on Kubernetes 打造新一代云原生数据湖