Skip to Main Content

SQL & PL/SQL

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.

%like in subquery

Rajnish ChauhanApr 27 2016 — edited Apr 27 2016

Hi Friends,

i have query like below.

but, my problem is i want checkĀ  the CALL_NUMBER in LIKE format..as below

Data in Column : 1860,1800

SELECT CALL_NUMBER FROM TAP_PARKED

WHERE CALL_NUMBER NOT LIKE '1860%'

but how to use in subquery...


SELECT CALL_NUMBER FROM TAP_PARKED

WHERE CALL_NUMBER NOT LIKE (SELECT ' DIALING_CODE||NDC %' FROM CC_DIALING ) ---> This is not working.

Pls help how to check in sub query.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 25 2016
Added on Apr 27 2016
22 comments
6,728 views