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!

Any Alternative to LIKE operator ???

SHUBHJun 13 2006 — edited Jun 13 2006
I have a query

I need to search a table on the basis of first name and lastname in a table x.
Both the cols are indexed .

now the query is somewhat like
select sysdate,empid,bonus from x where firstname like 's%' and lastname like 'w%';

Can i write the query in a diff way without using any other operator ? ( eg between etc).

I am using oracle 9i .
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 11 2006
Added on Jun 13 2006
15 comments
3,169 views