当前位置:网站首页>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]所创,转载请带上原文链接,感谢
边栏推荐
- Using consult to realize service discovery: instance ID customization
- 助力金融科技创新发展,ATFX走在行业最前列
- Vue.js Mobile end left slide delete component
- 6.6.1 localeresolver internationalization parser (1) (in-depth analysis of SSM and project practice)
- Working principle of gradient descent algorithm in machine learning
- 速看!互联网、电商离线大数据分析最佳实践!(附网盘链接)
- I've been rejected by the product manager. Why don't you know
- Synchronous configuration from git to consult with git 2consul
- Wiremock: a powerful tool for API testing
- Save the file directly to Google drive and download it back ten times faster
猜你喜欢

阿里云Q2营收破纪录背后,云的打开方式正在重塑

Use of vuepress

一篇文章带你了解SVG 渐变知识

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

PN8162 20W PD快充芯片,PD快充充电器方案

前端都应懂的入门基础-github基础

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)

一篇文章带你了解CSS 分页实例

How to select the evaluation index of classification model

Working principle of gradient descent algorithm in machine learning
随机推荐
6.5 request to view name translator (in-depth analysis of SSM and project practice)
NLP model Bert: from introduction to mastery (1)
5.5 controlleradvice notes - SSM in depth analysis and project practice
基於MVC的RESTFul風格API實戰
Python3 e-learning case 4: writing web proxy
Vue.js Mobile end left slide delete component
教你轻松搞懂vue-codemirror的基本用法:主要实现代码编辑、验证提示、代码格式化
Real time data synchronization scheme based on Flink SQL CDC
Using consult to realize service discovery: instance ID customization
Just now, I popularized two unique skills of login to Xuemei
Thoughts on interview of Ali CCO project team
EOS创始人BM: UE,UBI,URI有什么区别?
Grouping operation aligned with specified datum
Wechat applet: prevent multiple click jump (function throttling)
华为云“四个可靠”的方法论
The practice of the architecture of Internet public opinion system
PHPSHE 短信插件说明
比特币一度突破14000美元,即将面临美国大选考验
速看!互联网、电商离线大数据分析最佳实践!(附网盘链接)
6.3 handlerexceptionresolver exception handling (in-depth analysis of SSM and project practice)