Home Microsoft SQL Server DigiMailing iRN Contact
    Keyword



sys.trigger_events

  No additional text.


Syntax
CREATE VIEW sys.trigger_events AS
	SELECT ee.object_id AS object_id,
		ee.event_id AS type,
		ee.event_desc AS type_desc,
		sysconv(bit, convert(int, e.value) & 1) AS is_first,	-- TRG_FIRSTFIRED
		sysconv(bit, convert(int, e.value) & 2) AS is_last,	-- TRG_LASTFIRED
		ee.group_id AS event_group_type,
		ee.group_desc AS event_group_type_desc
	FROM sys.sysobjvalues e
	CROSS APPLY openrowset( TABLE EXPAND_EVENTS, e.objid, e.subobjid,
		case when (e.valclass = 70 AND convert(int, e.value) & 4 != 4)	-- is user created trigger?
			then 1 else 0 end) ee
	WHERE e.valclass = 70 AND e.valnum <> 100	-- x_eunc_Server
		AND has_access('CO', e.objid) = 1	-- SVC_EXTTRIGEVT

 
Last revision 2008RTM
See also

  server_trigger_events (View)
       



News

  Query a named instance
Sybase+ASE+silent+install
SQL 2008 R2
Deprecated procedures in SQL2008
Reporting Services item-level role definitions
Create all your missing indexes
Converting datetime field
Start MSSQL Server Profiler at time
Replicating MSSQL Server views
Exploring Microsoft Sharepoint
The OLE DB provider "SQLNCLI10" for linked server indicates.
Mobile solar charger
Oracle to SQL Server replication
Cannot insert the value NULL into column
Undocumented Microsoft SQL Server 2008
VMware
Zoekmachine optimalisatie
SQL Servers hidden objects
FckEditor
Flash in Ajax
De hype die AJAX heet
Barcode scannen
MySQL; Gratis, makkelijk en snel!
PHP
sIFR; de combinatie tussen HTML en Flash