删除正在登录的SQL账号

exec sp_who '用户名'
kill @spid

sp_droplogin 用户名


原文地址:https://www.cnblogs.com/davytitan/p/3528536.html