Test

1

Please login or register to vote for this query.

(click on this box to dismiss)

Physical Fitness Meta

Q&A about the site for physical fitness professionals, athletes, trainers, and those providing health-related needs

select top ##num?50##  
     body
     -- for debugging
     , charindex(N'\\C', body) [pos \\c]
     , charindex(N'\C', body) [pos \C]
     , substring(body, charindex(N'\C', body) + 2, 1) [following char]
from posts
where 
--  I am searching of a string (for example, \C
--  A. It is not right after backslash
--  B. It is followed by a character which is no a letter,
upper(body) like '%\C%'

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results