1Declare @mainString nvarchar(100)='Amit Kumar Yadav'  
2---Check here @mainString contains Amit or not, if it contains then retrun greater than 0 then print Find otherwise Not Find  
3if CHARINDEX('Amit',@mainString) > 0   
4begin  
5   select 'Find' As Result  
6end  
7else  
8    select 'Not Find' As Result  1SELECT * FROM mytable
2WHERE column1 LIKE '%word1%'
3   OR column1 LIKE '%word2%'
4   OR column1 LIKE '%word3%'1-- To find an exact string
2SELECT * FROM [table] WHERE [field] LIKE '%stringtosearchfor%'.
3