Is there a built-in, or workaround technique, to determine if a character “IsAlpha“?
i see a lot of suggestions that revolve around
IF PATINDEX('[a-zA-Z]', @c) > 0
BEGIN
--It is alpha
END
Except that neglects alpha characters that are not in the given range A-Z.
Collation controls how accents and diacritics are evaluated, such as whether or not
SequalsŠ.Note the results for the following… the first
SELECTreturns 2 matches, the second only returns 1 match:You can find a list of collations within SQL Server 2008 and a brief descripition here.