sql query compare 2 string 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