看代码最好:select substring(sys.fn_sqlvarbasetostr(HashBytes('MD5','111111')),3,32))
sql语句中自带的。
INSERT INTO SYSUSERTB(usercode,username,rolecode,rolecode1,userpwd,deptcode,userstat,usersex,instcode,falg)
VALUES('zt','mstr','manager','master',(select substring(sys.fn_sqlvarbasetostr(HashBytes('MD5','111111')),3,32)),'00',1,1,'000000','0')