允许现有的用户访问数据库。 SQLSERVER 2000
我在我的SQL 2000服务器上恢复了一个名为R1的数据库。 我去添加R1到JUNO用户的用户映射。 我收到一个错误: User or role 'JUNO' already exists in the current database. 所以我跑在R1上,我跑了SA: DROP USER JUNO 得到: Incorrect syntax near the keyword 'USER'. 所以我试了一下: EXEC dbo.sp_revokedbaccess N'JUNO' 另一个错误: Msg 15183, Level 16, State 1, Procedure sp_MScheck_uid_owns_anything, Line 17 The user owns objects in the database and cannot be dropped. Msg 15284, Level 16, […]