I want to search about this string
*|*
or more specific
LIKE '%*|*%'
but the
*
means the symbol itself. How to escape it?
EDIT: Actually, I was mislead because of other issue in my code. Anyway, you are completely right that in LIKE statement there is no special meaning for the * character.
You don’t need to escape it.
*has no special value in alikeclauseSee http://msdn.microsoft.com/en-us/library/ms179859(v=sql.100).aspx