how to compare two strings with some changes in sql code example
Example: sql compare strings
SELECT * FROM table WHERE Column = 'test'; -- can use index
SELECT * FROM table WHERE Column LIKE '%test%'; -- can't use index
SELECT * FROM table WHERE CONTAINS(Column, 'test'); -- faster with full text index