Use of 'like' in where clause.
Hi,
Can somebody please tell me the difference between the below 2 SQL's.
select * from table_name
where col_name like 'aaa'
and
select * from table_name
where 'aaa' like col_name
The above 2 queries are returning me different result sets.
Please do help.
Thanks,
Aswathy
Subject
Views
Written By
Posted
Use of 'like' in where clause.
8151
April 21, 2005 10:00AM
2943
April 22, 2005 07:31AM
2550
April 22, 2005 09:22AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.