We help IT Professionals succeed at work.
Get Started

Oracle RegExp to find a row with a special character...

gswitz
gswitz asked
on
13,727 Views
Last Modified: 2014-08-12
Hello,

I have a problem with an application that appears to be data driven. It looks like there must be a special character in a field in the query for the application that is causing an error in the application.

Can someone help me write a regular expression query to find all rows that include special characters?

Something like...

Select * from
(select upper(chr(300))||'0' a from dual)
where regexp_like(a,'[^a-zA-Z0-9\-\@\<\>]');

I'm not really sure what I'm looking for. I'm hunting for a goofy character that's breaking the app.
Comment
Watch Question
Database Developer & Administrator
CERTIFIED EXPERT
Most Valuable Expert 2011
Top Expert 2012
Commented:
This problem has been solved!
Unlock 2 Answers and 3 Comments.
See Answers
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE