Skip to Main Content

Integration

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!

Database adapter using LIKE

649591Jul 30 2008 — edited Jul 30 2008
Hi,

In one ESB i'm using Database adapter to read the data from the DB.

here my requirement is to use like operator.

the query is like below it is getting generated

SELECT ID, NAME, EMAIL, PHONE FROM CUSTOMER WHERE (EMAIL LIKE #search-string)

here the search-string is i/p paramter

I have tried like SELECT ID, NAME, EMAIL, PHONE FROM CUSTOMER WHERE (EMAIL LIKE %#search-string %)

I have tried like SELECT ID, NAME, EMAIL, PHONE FROM CUSTOMER WHERE (EMAIL LIKE #%search-string% )

but it is not working

Please help me out
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 27 2008
Added on Jul 30 2008
2 comments
810 views