I am creating one cursor in SQL Server. Now I want to check that one of it variable contains specific text or not. How can I check it..
declare @var varchar(50) = 'testimg test test'
Now i want to check that this @var contains 'img' or not?
In this ex it contains ..