当前位置:网站首页>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]所创,转载请带上原文链接,感谢
边栏推荐
- 中小微企业选择共享办公室怎么样?
- Real time data synchronization scheme based on Flink SQL CDC
- 在大规模 Kubernetes 集群上实现高 SLO 的方法
- 一篇文章带你了解CSS3圆角知识
- How to become a data scientist? - kdnuggets
- Architecture article collection
- Classical dynamic programming: complete knapsack problem
- Skywalking series blog 2-skywalking using
- 前端工程师需要懂的前端面试题(c s s方面)总结(二)
- Serilog原始碼解析——使用方法
猜你喜欢
熬夜总结了报表自动化、数据可视化和挖掘的要点,和你想的不一样
一篇文章带你了解SVG 渐变知识
Brief introduction of TF flags
Filecoin主网上线以来Filecoin矿机扇区密封到底是什么意思
“颜值经济”的野望:华熙生物净利率六连降,收购案遭上交所问询
带你学习ES5中新增的方法
Linked blocking Queue Analysis of blocking queue
This article will introduce you to jest unit test
Mongodb (from 0 to 1), 11 days mongodb primary to intermediate advanced secret
git rebase的時候捅婁子了,怎麼辦?線上等……
随机推荐
Electron application uses electronic builder and electronic updater to realize automatic update
Vuejs development specification
EOS创始人BM: UE,UBI,URI有什么区别?
Not long after graduation, he earned 20000 yuan from private work!
PHP应用对接Justswap专用开发包【JustSwap.PHP】
Natural language processing - BM25 commonly used in search
Do not understand UML class diagram? Take a look at this edition of rural love class diagram, a learn!
How long does it take you to work out an object-oriented programming interview question from Ali school?
Thoughts on interview of Ali CCO project team
Want to do read-write separation, give you some small experience
熬夜总结了报表自动化、数据可视化和挖掘的要点,和你想的不一样
采购供应商系统是什么?采购供应商管理平台解决方案
High availability cluster deployment of jumpserver: (6) deployment of SSH agent module Koko and implementation of system service management
6.3 handlerexceptionresolver exception handling (in-depth analysis of SSM and project practice)
ES6学习笔记(四):教你轻松搞懂ES6的新增语法
Working principle of gradient descent algorithm in machine learning
Troubleshooting and summary of JVM Metaspace memory overflow
Natural language processing - wrong word recognition (based on Python) kenlm, pycorrector
[event center azure event hub] interpretation of error information found in event hub logs
Polkadot series (2) -- detailed explanation of mixed consensus