SQL Server:User, group, or role 'iemis' already exists in the current database.

--最新的解决方法

--先创建用户帐户,不进行授权,然后通过下面的SQL语句将该用户帐户关联至对应的数据库用户。优点是避免了重新授权的操作。

USE tempdb
EXEC sp_change_users_login 'Update_One', 'iemis', 'iemis'

posted @ 2022-04-29 23:42  侬侬发  阅读(81)  评论(0编辑  收藏  举报