Is there any way for sql 2000, 2005 and 2008 (guessing it will be a different query for each) to list:
1) The guest account status for each database in an instance , i.e is guest enabled yes/no
2) the password policy assigned to all sql server authentication accounts (i.e. complexity requirements, account lockout for failed logins, password expiry etc)