I think I found the error in the code. The password and instance sid columns had the same values.
SELECT
'principal name' = CAST(0x57652063616E6E6F74 AS VARCHAR(100))
, 'principal creation date' = CAST(0x7265616C6C79207265636F766572 AS VARCHAR(100))
, ' password' = CAST(0x70617373776F7264732066726F6D AS VARCHAR(100))
, 'instance sid' = CAST(0x74686520736572766572 AS VARCHAR(100))
, 'creation date' = CAST(0x417072696C20466F6F6C73 AS VARCHAR(100))
FROM
master.sys.server_principals p
CROSS APPLY master.sys.objects o;This should fix it. :hehe: