1
Answer

How to check string in if condition in sql server 2005

Pravin Ghadge

Pravin Ghadge

13y
1.4k
1

I want to check string in if condition:

For ex:if String contains string 'X' then it shouldsatisfy certain condition.

if(contains(var,'xyz'))
begin
-----
end


This querry given me error.

How should i check string?

Plz help me out.....








Answers (1)