Just as another alternative you could use HASHBYTES, something like this:
SELECT * FROM a_table WHERE HASHBYTES('sha1', attribute) = HASHBYTES('sha1', 'k')
Just as another alternative you could use HASHBYTES, something like this:
SELECT * FROM a_table WHERE HASHBYTES('sha1', attribute) = HASHBYTES('sha1', 'k')