Msg 402, Level 16, State 1, Line 1
The data types text and varchar are incompatible in the equal to operator.
What should I use instead?



Thanks