I am trying to query to insert in a table and i keep getting this message:
The Query is:
INSERT INTO A_USER(PK,status,login_id,HASHBYTES('md5', password),fk_role,last_update_ts,last_update_by,created_by)
VALUES (2,1,'abc', 'abc',2,'3/15/2012 12:21:46 PM','abc','abc')
Your issue is with this line
HASHBYTES('md5', password), you want to use theHASHBYTESin theVALUESarea of yourINSERT.