Solved

Oracle Package to Replace Chinese Characters

Posted on 2011-09-07
6
492 Views
Last Modified: 2012-06-21

Hello Experts,

We need to find out if it possible to code an Oracle package that could find and replave Chinese Characters into Western Alphabet.

Some users are inserting Chinese characters by error and this is causing failure on some file transmission.

The Characters are inside several columns on a number of tables but we can take Table EMP as an example.

Ideally, we would like to automate a procedure to clean this automatically and replace the characters if possible.








0
Comment
Question by:FABRICIO76
  • 3
6 Comments
 
LVL 76

Accepted Solution

by:
slightwv (䄆 Netminder) earned 500 total points
ID: 36502304
If you want to just find non alphanumeric characters and replace them with something like a space you can probably do something with REGEXP_REPLACE.

If you can provide some sample data and expected results I can probably come up with a working example.
0
 

Author Comment

by:FABRICIO76
ID: 36521273
I am trying to find a proper sample to post it back
0
 
LVL 53

Expert Comment

by:Dhaest
ID: 36923259
I've requested that this question be deleted for the following reason:

This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0
 

Author Comment

by:FABRICIO76
ID: 36923260
Hello,

I am pending more feedback, I hope to post new data soon.

0
 

Author Closing Comment

by:FABRICIO76
ID: 36923715
Hi there,

Regexp_replace was indeed a good option so I am awarding the points.

The scope of our issue has changed a little so I will open a new question.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This post first appeared at Oracleinaction  (http://oracleinaction.com/undo-and-redo-in-oracle/)by Anju Garg (Myself). I  will demonstrate that undo for DML’s is stored both in undo tablespace and online redo logs. Then, we will analyze the reaso…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question