I have the query below. I want to receive records that doesn't include
mywebsite.com/url
mywebsite.comurl
SELECT COUNT(*)
FROM [mydb].[dbo].[mytable]
WHERE No is not null
AND Thumbnail is not null
AND Thumbnail not like '<a target=\"_blank\" href=\"http://www.mywebsite.com/%'
SELECT COUNT(*) FROM [mydb].[dbo].[mytable] WHERE No is not null
AND Thumbnail is not null
AND Thumbnail like '%mywebsite.com%'
AND Thumbnail not like '%mywebsite.com/url%'