December 12, 2018 at 2:58 pm
Hello,
I am trying to run a simple changeowner statement:
USE [database18]
GO
EXEC dbo.sp_changedbowner @loginame = N'sa'
GO
however for some reason, after i run this, i get this error message:
Msg 208, Level 16, State 1, Procedure DDLEventTrigger, Line 28 [Batch Start Line 63]
Invalid object name 'List_DWdbo.LEvent'.
I know that is another database on the same server, however i am not sure why its saying the object doesnt exist when i want to just change owner on database18 from my login to sa... anyone run into this before?
December 12, 2018 at 3:25 pm
Did you check for any DDL triggers at the server level? Looks like there is a trigger which is stopping you from making this change.
December 12, 2018 at 11:59 pm
Check the server and database for any triggers. From the looks of the error, there is a problem in the trigger code preventing it from executing, and changing the owner is firing the trigger.
At a glance, from the error supplied, there is a period missing between List_DW and dbo (it reads List_DWdbo.LEvent but should read List_DW.dbo.LEvent)
Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy