drop sql login and related database users altogether

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: joe (pearl_77_at_hotmail.com)
Date: 07/12/04


Date: Mon, 12 Jul 2004 15:03:07 -0400

Hi, I¡¯m wondering if there is procedure which is based on SQL login to
return all database names for which user is owner.
then drop user from each database, and finally drop sql login.