Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- select 'drop login [' + name + '] from sys.server_principals WHERE name='ratnakar' and type_desc = 'SQL_LOGIN'
- DROP LOGIN [name]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement