Hi all
Is there a way to use a like statement within a where clause to ignore case. As at present when I query a db it only finds the records if the case is matched also.
I.e
SELECT * FROM tbl WHERE myfield LIKE '%SMITH%'
Will only pull back SMITH when I want it to find smith SmiTH etc as long as it reads smith.
Many Thanks
Colin
Is there a way to use a like statement within a where clause to ignore case. As at present when I query a db it only finds the records if the case is matched also.
I.e
SELECT * FROM tbl WHERE myfield LIKE '%SMITH%'
Will only pull back SMITH when I want it to find smith SmiTH etc as long as it reads smith.
Many Thanks
Colin