Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Getting Rid of Rogue Invisible Characters

Tee BirdNov 24 2024 — edited Nov 24 2024

Yesterday, when I ran into some rogue invisible characters in our database, I expected to have this problem solved in a few minutes. Lots of hours sunk into this. I expect an answer will take a minute or two for someone familiar with invisible characters to tap out the solution.

The problem showed up like this:

Looks like blank data

The problem is we have some customers with more than 3,000 cust_address records. None have more than 6 with visible characters in them. That means we have thousands of extra cust_address records. The problem they are not blank,k but flooded with invisible characters I don't know how to detect except by eye in screen displays.

This is how we store address data:

Basically, what I need to do is

delete cust_address where <that field with weird data in it is invisible> and no visible characters present

update cust_address set<invisible character> = replace(address, <weird invisible char>, ' ')

I cannot figure out how to touch the weird invisible characters.

Any information you can provide will be appreciated immensely.

Thank you.

This post has been answered by mathguy on Nov 25 2024
Jump to Answer
Comments
Post Details
Added on Nov 24 2024
4 comments
80 views