当前位置:网站首页>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]所创,转载请带上原文链接,感谢
边栏推荐
- TRON智能钱包PHP开发包【零TRX归集】
- 如何玩转sortablejs-vuedraggable实现表单嵌套拖拽功能
- Electron application uses electronic builder and electronic updater to realize automatic update
- Programmer introspection checklist
- 6.6.1 localeresolver internationalization parser (1) (in-depth analysis of SSM and project practice)
- Architecture article collection
- Do not understand UML class diagram? Take a look at this edition of rural love class diagram, a learn!
- Troubleshooting and summary of JVM Metaspace memory overflow
- Summary of common algorithms of binary tree
- Filecoin最新动态 完成重大升级 已实现四大项目进展!
猜你喜欢
Network security engineer Demo: the original * * is to get your computer administrator rights! 【***】
快快使用ModelArts,零基礎小白也能玩轉AI!
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)
Vue 3 responsive Foundation
Filecoin主网上线以来Filecoin矿机扇区密封到底是什么意思
如何玩转sortablejs-vuedraggable实现表单嵌套拖拽功能
NLP model Bert: from introduction to mastery (2)
This article will introduce you to jest unit test
使用 Iceberg on Kubernetes 打造新一代云原生数据湖
keras model.compile Loss function and optimizer
随机推荐
ipfs正舵者Filecoin落地正当时 FIL币价格破千来了
Linked blocking Queue Analysis of blocking queue
CCR炒币机器人:“比特币”数字货币的大佬,你不得不了解的知识
Flink的DataSource三部曲之二:内置connector
TRON智能钱包PHP开发包【零TRX归集】
Installing the consult cluster
I've been rejected by the product manager. Why don't you know
ES6学习笔记(四):教你轻松搞懂ES6的新增语法
After reading this article, I understand a lot of webpack scaffolding
一篇文章带你了解HTML表格及其主要属性介绍
教你轻松搞懂vue-codemirror的基本用法:主要实现代码编辑、验证提示、代码格式化
Summary of common algorithms of linked list
一篇文章带你了解CSS3圆角知识
如何玩转sortablejs-vuedraggable实现表单嵌套拖拽功能
华为云“四个可靠”的方法论
OPTIMIZER_ Trace details
多机器人行情共享解决方案
Swagger 3.0 天天刷屏,真的香嗎?
Word segmentation, naming subject recognition, part of speech and grammatical analysis in natural language processing
6.1.1 handlermapping mapping processor (1) (in-depth analysis of SSM and project practice)