当前位置:网站首页>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]所创,转载请带上原文链接,感谢
边栏推荐
- Don't go! Here is a note: picture and text to explain AQS, let's have a look at the source code of AQS (long text)
- Network security engineer Demo: the original * * is to get your computer administrator rights! 【***】
- 阿里云Q2营收破纪录背后,云的打开方式正在重塑
- Python crawler actual combat details: crawling home of pictures
- vue-codemirror基本用法:实现搜索功能、代码折叠功能、获取编辑器值及时验证
- Save the file directly to Google drive and download it back ten times faster
- I've been rejected by the product manager. Why don't you know
- 6.1.1 handlermapping mapping processor (1) (in-depth analysis of SSM and project practice)
- Calculation script for time series data
- TRON智能钱包PHP开发包【零TRX归集】
猜你喜欢
git rebase的時候捅婁子了,怎麼辦?線上等……
小程序入门到精通(二):了解小程序开发4个重要文件
Aprelu: cross border application, adaptive relu | IEEE tie 2020 for machine fault detection
ipfs正舵者Filecoin落地正当时 FIL币价格破千来了
在大规模 Kubernetes 集群上实现高 SLO 的方法
Summary of common algorithms of linked list
Examples of unconventional aggregation
從小公司進入大廠,我都做對了哪些事?
至联云分享:IPFS/Filecoin值不值得投资?
带你学习ES5中新增的方法
随机推荐
Flink的DataSource三部曲之二:内置connector
Serilog原始碼解析——使用方法
How to use parameters in ES6
Summary of common algorithms of linked list
Brief introduction of TF flags
Did you blog today?
Filecoin主网上线以来Filecoin矿机扇区密封到底是什么意思
Elasticsearch 第六篇:聚合統計查詢
至联云分享:IPFS/Filecoin值不值得投资?
Word segmentation, naming subject recognition, part of speech and grammatical analysis in natural language processing
NLP model Bert: from introduction to mastery (2)
Skywalking series blog 2-skywalking using
至联云解析:IPFS/Filecoin挖矿为什么这么难?
如何玩转sortablejs-vuedraggable实现表单嵌套拖拽功能
Aprelu: cross border application, adaptive relu | IEEE tie 2020 for machine fault detection
Python + appium automatic operation wechat is enough
华为云“四个可靠”的方法论
Multi classification of unbalanced text using AWS sagemaker blazingtext
vue-codemirror基本用法:实现搜索功能、代码折叠功能、获取编辑器值及时验证
git rebase的時候捅婁子了,怎麼辦?線上等……