在SQL2000数据库中删除一个DB user,提示:'the selected user cannot be dropped because owns objects'.根据这个提示,在此用户所在数据库中查询了user对应的object,
use tsDB
select* from sysobjects a, sysusers b where a.uid=b.uid and b.name='user1'但是,执行Procedure sp_changeobjectowner去改变数据表对象的owner时,出现以下错误,
Server: Msg 15001, Level 16, State 1, Procedure sp_changeobjectowner, Line 38
Object 'incomes' does not exist or is not a valid object for this operation.
请高手指点,多谢!