Author: Nileshkul
Subject: LIKE vs EQUAL
Posted: Sat Jul 16, 2016 7:50 am (GMT 5.5)
Dear all,
I have a query which uses LIKE in WHERE clause for 4 character comparision.
Some thing like:
Where column1 LIKE :HOST1
Here character 2 to 4 are populated with _ underscore as wild char based on user input.
But many times - all 4 character are populated propely and nit wild so will use of EQUAL instead LIKE give better result.
Thanks.
Subject: LIKE vs EQUAL
Posted: Sat Jul 16, 2016 7:50 am (GMT 5.5)
Dear all,
I have a query which uses LIKE in WHERE clause for 4 character comparision.
Some thing like:
Where column1 LIKE :HOST1
Here character 2 to 4 are populated with _ underscore as wild char based on user input.
But many times - all 4 character are populated propely and nit wild so will use of EQUAL instead LIKE give better result.
Thanks.