I want to write a comparation procedure (t-sql) for site seo.
I have a table with field \'url\' (nvarchar()) that contain a part of site url\'s. Ex: \'mysyte.com
You can use the LIKE operator to compare the content of a T-SQL string, e.g.
SELECT * FROM [table] WHERE [field] LIKE '%stringtosearchfor%'.
The percent character '%' is a wild card- in this case it says return any records where [field] at least contains the value "stringtosearchfor".