I thought it was CONTAINS, but that\'s not working for me.
CONTAINS
I\'m looking to do this:
IF CONTAINS(@stringVar, \'thisstring\') ... <
IF CONTAINS(@stringVar, \'thisstring\') ...
The standard SQL way is to use like:
where @stringVar like '%thisstring%'
That is in a query statement. You can also do this in TSQL:
if @stringVar like '%thisstring%'