
Case-insensitive search in text columns
You can define a server-wide case-insensitive sort order. Unfortunately,
this will require DBCC of all objects, since some of the indexes may
fail. Also all servers in the enterprise should switch to this sort order
or you won't be able to load data across servers. That's a massive and
very general solution for your problem.
Quote:
> The common trick for case-insensitive searching is "UPPER(col) LIKE
> '%FOO%'". However, UPPER is not valid for text columns. Is there a
> way to make LIKE/PATINDEX case-insensitive, or some other solution to
> this problem?
> I've scanned the Sybase manuals, without finding much that even
> mentions the case-sensitive vs. insensitive problem.
> --
> Rune Fr?ysa