what is the differences between = to like ?
thanks for help :) by the way if it's help , the error i get is: the data types text and varchar are incompatible in the equal to operator [msg 402]
1:
what is the differences between = to like ?
thanks for help :) by the way if it's help , the error i get is: the data types text and varchar are incompatible in the equal to operator [msg 402]
1:
Like
The LIKE operator is used to search for a specified pattern in a column.
Where
The WHERE clause is used to extract only those records that fulfill a specified criterion.
In your case the first query do not work is because no records match the criteria you are searching.