Home Microsoft SQL Server DigiMailing iRN Contact


  No additional text.

CREATE VIEW sys.server_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, SVC_ASYNTRGEVT

Last revision 2008RTM

  Query a named instance
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
Zoekmachine optimalisatie
SQL Servers hidden objects
Flash in Ajax
De hype die AJAX heet
Barcode scannen
MySQL; Gratis, makkelijk en snel!
sIFR; de combinatie tussen HTML en Flash