Skip to content

Instantly share code, notes, and snippets.

@rponte
Created September 28, 2010 21:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rponte/601814 to your computer and use it in GitHub Desktop.
Save rponte/601814 to your computer and use it in GitHub Desktop.
-- drop login on SQLSERVER2005
drop login syspdvweb;
-- check login at database
SELECT name, sid, type,
type_desc
FROM sys.server_principals
WHERE type = 'S';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment