Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Administration - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 6525

error creating trigger

$
0
0
I created a database, but when I run a script to create a trigger, I get error:Cannot create the trigger 'MyDDLTrigger', because you do not have permission.what permissions do I need to set to create trigger ?Here is part of the script that seems to be causing the error:CREATE TRIGGER [MyDDLTrigger] ON ALL SERVER WITH EXECUTE AS SELF FOR DDL_DATABASE_LEVEL_EVENTSAS...............GoThanks.

Viewing all articles
Browse latest Browse all 6525

Trending Articles