Sunday, November 12, 2006

Enjoy Every Sandwich : DENIED! (subtitled: using LOGON TRIGGERS with SQL Server 2005 SP2)

Enjoy Every Sandwich : DENIED! (subtitled: using LOGON TRIGGERS with SQL Server 2005 SP2): "Two of the cool new features that we talk about in Essential SQL Server 2005 and Guerrilla SQL Server 2005 are:
Data Definition Language (DDL) Triggers, which allow us to catalog code that gets fired synchronously with event that trigger it. This is useful in cases where you want to hook into the processing sequence for commands like CREATE TABLE, ALTER VIEW or DROP ASSEMBLY, potentially logging who did what or issuing a ROLLBACK to cancel that work.
EVENT NOTIFICATIONS, which route information about events asynchronously to Service Broker queue after the event has been processed. EVENT NOTIFICATIONS are available for 193 specific events, including the events we can use for DDL triggers. "

0 Comments:

Post a Comment

<< Home