In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-21 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
How to judge whether a string contains Chinese characters in oracle
1. 1 BLOG document structure map
I. 2 preface part 1. 2.1 introduction
Technical enthusiasts, after reading this article, you can master the following skills, and you can also learn some other knowledge that you do not know, ~ O (∩ _ ∩) Olympiad:
The judgment of ① full-width characters, or the judgment of strings containing Chinese characters
If there are any mistakes or imperfections in this article, please correct them as much as you can, ITPUB or QQ. Your criticism is the biggest motivation of my writing.
I. 2.2 introduction to the experimental environment
11.2.0.3 RHEL6.5
I. 2.3 introduction to this article
See the netizen asked, how to inquire whether a field data in the table contains full-width characters? This problem involves several functions: to_single_byte, length and lengthb. When I was doing development, I studied how to determine whether a string contains Chinese or not. In fact, it is the same in nature. Let's take a look at the experimental part.
I. 3 Experimental part I. 3.1 lengthb and length functions combined with to_single_byte functions
-contains Chinese characters, strictly speaking, full-width characters
SELECT l.name
Length (l.name)
Lengthb (l.name)
FROM xb_link l
WHERE length (l.name)! = lengthb (l.name)
AND length (l.name)
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
-LNMP + Discuz-system environment: RHEL6 x32 selinux and iptables disabled host role: 172.25.4
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.