select pwdcompare('你的密码', password, (CASE WHEN xstatus&2048 = 2048 THEN 1 ELSE 0 END)) a,name
from master.dbo.sysxlogins