Skip to Main Content

Database Software

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!

How to pass a subquery to a TEXT Query.

507076Apr 22 2008 — edited Apr 22 2008
I have this query

SELECT * FROM identity_event
WHERE contains (identityeventdata, '52353465657 inpath(/cid-spf/dest-number)')>0

And I have a table with tons of numbers I need to check for.

Table PHONE_NUMBER
PHONENUM NUMBER



What I want do is something like this.

SELECT * FROM identity_event
WHERE contains (identityeventdata, ' SELECT PHONENUM FROM PHONE_NUMBER inpath(/cid-spf/dest-number)')>0


How can I do that. Is there any trick.

Thx
Naren
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 20 2008
Added on Apr 22 2008
3 comments
1,765 views