VERY useful script! Saved my week!
This should be the code modified for SQL 2005/2008 with updated stored procedures from http://support.microsoft.com/kb/918992/[/url]:
------------------------------------------------------------------------------------
-- Description: Provide a list of login(s) and create a...