修复SQL中的孤立账户

EXEC sys.sp_change_users_login 'AUTO_FIX','登录名',NULL,'登录密码'

  

原文地址:https://www.cnblogs.com/wxmxiaoming/p/4441926.html