Oracle Community

The social network for Oracle people

How to retrieve those names which has underscore character like Ali_khan in ename column

Views: 45

Comment by Santosh on October 19, 2011 at 3:51am

Plz try this query,

This query is helpful to search a word having underscore within that word.

select * from emp_main_dtls emd where emd.first_name like '%\_%' escape '\';

Comment by subramanian on October 28, 2011 at 9:48pm

thanks,

 yes your are right.

Comment by Asadullah fazli on October 31, 2011 at 2:17pm
Thank ur all for helping me

Comment

You need to be a member of Oracle Community to add comments!

Join Oracle Community

© 2013   Created by Eddie Awad.

Badges  |  Report an Issue  |  Terms of Service