SQL CLR DDL trigger written on C#
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.
精彩评论