troubleshooting Question

How to write a statement with OR in an IN Clause?

Avatar of Horalia Rodriguez
Horalia RodriguezFlag for United States of America asked on
Oracle Database
11 Comments1 Solution29 ViewsLast Modified:
I'm having issues writing a script in oracle. I have a table which contains a text column with type CLOB. Not familiar with this type. I need to extract rows where the text column does not contain N/A, NA, No incentive, and is not null. Is there a way to combine OR and NOT LIKE?

ID      paragraphtext
1      <p>This client has an incentive</p>
2      <p>This client has 10 incentives</p>
3      <p>N/A</p>
4      NA
5      NULL

With the example above, only IDs 1 and 2 would be returned.

Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 11 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 11 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros