当前位置:网站首页>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]所创,转载请带上原文链接,感谢
边栏推荐
- htmlcss
- Architecture article collection
- Skywalking series blog 5-apm-customize-enhance-plugin
- [event center azure event hub] interpretation of error information found in event hub logs
- Summary of common algorithms of binary tree
- 至联云解析:IPFS/Filecoin挖矿为什么这么难?
- Using Es5 to realize the class of ES6
- TRON智能钱包PHP开发包【零TRX归集】
- From zero learning artificial intelligence, open the road of career planning!
- Didi elasticsearch cluster cross version upgrade and platform reconfiguration
猜你喜欢

The difference between Es5 class and ES6 class

Thoughts on interview of Ali CCO project team

Filecoin最新动态 完成重大升级 已实现四大项目进展!

How do the general bottom buried points do?

每个前端工程师都应该懂的前端性能优化总结:

TRON智能钱包PHP开发包【零TRX归集】

ES6学习笔记(五):轻松了解ES6的内置扩展对象

至联云分享:IPFS/Filecoin值不值得投资?

全球疫情加速互联网企业转型,区块链会是解药吗?

Working principle of gradient descent algorithm in machine learning
随机推荐
I'm afraid that the spread sequence calculation of arbitrage strategy is not as simple as you think
一篇文章带你了解SVG 渐变知识
6.1.2 handlermapping mapping processor (2) (in-depth analysis of SSM and project practice)
Filecoin最新动态 完成重大升级 已实现四大项目进展!
Python crawler actual combat details: crawling home of pictures
Python Jieba segmentation (stuttering segmentation), extracting words, loading words, modifying word frequency, defining thesaurus
Save the file directly to Google drive and download it back ten times faster
阿里云Q2营收破纪录背后,云的打开方式正在重塑
NLP model Bert: from introduction to mastery (1)
How to encapsulate distributed locks more elegantly
I think it is necessary to write a general idempotent component
至联云解析:IPFS/Filecoin挖矿为什么这么难?
6.5 request to view name translator (in-depth analysis of SSM and project practice)
Word segmentation, naming subject recognition, part of speech and grammatical analysis in natural language processing
I've been rejected by the product manager. Why don't you know
H5 makes its own video player (JS Part 2)
OPTIMIZER_ Trace details
Group count - word length
一篇文章带你了解CSS对齐方式
[C / C + + 1] clion configuration and running C language