Question : How to do search on special characters in MS SQL?

Hi, Experts,
How I can make following SELECT statement return result set:
(I'm trying to find some special characters like a carriage return(CHAR(13)) in my text field)

SELECT Comment
FROM Forum
WHERE Contains(Comment, CHAR(13))

It seems Full-Text index totally ignores them. Is it possible to make them researchable? and how?

Thanks,
-Rick

Answer : How to do search on special characters in MS SQL?

SELECT Comment
FROM Forum
WHERE charindex(CHAR(13), Comment) > 0
Random Solutions  
 
programming4us programming4us