当前位置:网站首页>Solve the problem of Oracle Chinese garbled code
Solve the problem of Oracle Chinese garbled code
2022-04-23 13:12:00 【ArchieSean】
The blogger's name is taken from 《 Shaun the Sheep 》 Shawn the lamb in the , The name is : Sean , Transliterated as Sean, Take your own last name : Archie , In order to conform to our reading habits , Connected to form ArchieSean. Bloggers aim to build blogs into a technology stack for personal online notes , Be convenient for yourself and others . If there are any mistakes in the blog , Please point out , Thank you. .
In recent days, , I'm playing Oracle when , Insert data into the database , Find out , In Chinese, it is shown as ?????, To solve this problem , I run between websites , Seeking solutions , It was finally solved , Here is a summary of the solution process .
- Use PL/SQL Perform the following sql, see Oracle Character set used
Select userenv('language') from dual;
2. Add the environment variable of the local computer
NLS_LANG
SIMPLIFIED CHINESE_CHINA.ZHS16GBK
- here , You need to delete the data in the following table , Reinsert data , Normal Chinese will be displayed
I made a mistake in revising , After I added the environment variable , The direct query has not changed , After I insert a new piece of data , The Chinese display of the newly queried data is normal , Delete the previous garbled data .
If there are any questions , Welcome to leave a message .
版权声明
本文为[ArchieSean]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231306322324.html
边栏推荐
- Wu Enda's programming assignment - logistic regression with a neural network mindset
- Golang implements a five insurance and one gold calculator with web interface
- mui 微信支付 排坑
- Go language array operation
- Go language: passing slices between functions
- 【微信小程序】flex布局使用记录
- 【行走的笔记】
- [Technical Specification]: how to write technical documents?
- 将opencv 图片转换为字节的方式
- 1130 - host XXX is not allowed to connect to this MySQL server error in Navicat remote connection database
猜你喜欢
AUTOSAR from introduction to mastery 100 lectures (51) - AUTOSAR network management
9419页最新一线互联网Android面试题解析大全
jmeter操作redis
100 lectures on practical application cases of Excel (VIII) - report connection function of Excel
Common interview questions and detailed analysis of the latest Android developers in 2020
EMMC / SD learning notes
X509 parsing
超40W奖金池等你来战!第二届“长沙银行杯”腾讯云启创新大赛火热来袭!
AUTOSAR from introduction to mastery lecture 100 (84) - Summary of UDS time parameters
【官宣】长沙软件人才实训基地成立!
随机推荐
nodejs + mysql 实现简单注册功能(小demo)
MySQL -- 16. Data structure of index
Nodejs + websocket cycle small case
Uniapp image import local image not displayed
Loading and using image classification dataset fashion MNIST in pytorch
mui + hbuilder + h5api模拟弹出支付样式
100 GIS practical application cases (52) - how to keep the number of rows and columns consistent and aligned when cutting grids with grids in ArcGIS?
These vscode extensions are my favorite
office2021安装包下载与激活教程
【快排】215. 数组中的第K个最大元素
十万大学生都已成为猿粉,你还在等什么?
【官宣】长沙软件人才实训基地成立!
5 tricky activity life cycle interview questions. After learning, go and hang the interviewer!
Go language array operation
CSDN高校俱乐部“名师高校行”——湖南师范大学站
Three channel ultrasonic ranging system based on 51 single chip microcomputer (timer ranging)
解决Oracle中文乱码的问题
Request和Response及其ServletContext总结
100 GIS practical application cases (53) - making three-dimensional image map as the base map of urban spatial pattern analysis
AUTOSAR from introduction to mastery lecture 100 (84) - Summary of UDS time parameters