在 SQL 服务器上创建 DDL 触发器需要哪些权限?
Which permission is needed to create a DDL trigger on SQL Server?
在特定数据库(MS SQL 服务器)上创建 DDL 触发器需要哪些权限?
documentation 状态:
To create a DML trigger requires ALTER permission on the table or view on which the trigger is being created.
To create a DDL trigger with server scope (ON ALL SERVER) or a logon trigger requires CONTROL SERVER permission on the server.
To create a DDL trigger with database scope (ON DATABASE) requires ALTER ANY DATABASE DDL TRIGGER permission in the current database.
在特定数据库(MS SQL 服务器)上创建 DDL 触发器需要哪些权限?
documentation 状态:
To create a DML trigger requires ALTER permission on the table or view on which the trigger is being created.
To create a DDL trigger with server scope (ON ALL SERVER) or a logon trigger requires CONTROL SERVER permission on the server.
To create a DDL trigger with database scope (ON DATABASE) requires ALTER ANY DATABASE DDL TRIGGER permission in the current database.