Does anybody know why searching for a string '@' with LIKE does not work
even when you use ESCAPE
Very strange......
Say the field has ..... I love my @*&!& friend
And I want to SELECT this row when I search for @ with LIKE
Select * from myTable where myField like '%@%' does not work
Select * from myTable where myField like '%#@%' escape '#' does not
work either
Select * from myTable where myField like '%' + char(64) + '%' does not
work either
What a pain in the something search + Why me
Any help???
Michael Coles - 29 Jun 2008 07:44 GMT
See response in .datawarehouse.

Signature
========
Michael Coles
"Pro SQL Server 2008 XML"
http://www.amazon.com/Pro-SQL-Server-2008-XML/dp/1590599837/
> Does anybody know why searching for a string '@' with LIKE does not work
> even when you use ESCAPE
[quoted text clipped - 12 lines]
>
> Any help???