Как удалить пользователь SQL Server

USE master ;
GO
REVOKE CONNECT SQL FROM ApplicationSQLUser2  AS ApplicationSQLUser1;
GO
GRANT CONNECT SQL TO ApplicationSQLUser2 AS SA;
GO
ALTER AUTHORIZATION ON SERVER ROLE::[ServerRoleOwnedByUser1] TO [sa] ;
GO
ALTER AUTHORIZATION ON DATABASE::Db2 TO sa;
GO
DROP LOGIN [ApplicationSQLUser1];
GO
Meidiana Rahmawati