开发者

SQL CLR DDL trigger written on C#

开发者 https://www.devze.com 2023-01-21 08:01 出处:网络
Is it possible to create a database/DDL trigger in C#?And, if so, then how? [EDIT] Basically, I decided to use CLR for the database trigger becau开发者_开发技巧se I want to utilize C# SMO to script

Is it possible to create a database/DDL trigger in C#? And, if so, then how?

[EDIT]

Basically, I decided to use CLR for the database trigger becau开发者_开发技巧se I want to utilize C# SMO to script the objects that change and insert the object script into a table that tracks versions of database objects.


See: Programming CLR Triggers


Or See: CLR Triggers Continue toward the bottom for DDL example.

0

精彩评论

暂无评论...
验证码 换一张
取 消