SQL Server principal “dbo” does not exist,

后端 未结 11 1128
醉话见心
醉话见心 2020-12-22 16:05

I am getting the following error

Cannot execute as the database principal because the principal \"dbo\" 
does not exist, this type of principal cannot be imp         


        
11条回答
  •  清歌不尽
    2020-12-22 16:23

    USE []
    GO
    sp_changedbowner '' -- you can use 'sa' as a quick fix in databases with SQL authentication
    

    KB913423 - You cannot run a statement or a module that includes the EXECUTE AS clause after you restore a database in SQL Server 2005

提交回复
热议问题