Home Microsoft SQL Server DigiMailing iRN Contact


  No additional text.

CREATE VIEW sys.server_triggers AS
	SELECT o.name,
		object_id = o.id,
		parent_class = o.pclass,
		parent_class_desc = pc.name,
		parent_id = o.pid,
		type = o.type,
		type_desc = n.name,
		create_date = o.created,
		modify_date = o.modified,
		is_ms_shipped = sysconv(bit, o.status & 1),		-- OBJALL_MSSHIPPED
		is_disabled = sysconv(bit, o.status & 256) 		-- OBJTRG_DISABLED
	FROM sys.sysschobjs o
	LEFT JOIN sys.syspalnames n ON n.class = 'OBTY' AND n.value = o.type
	LEFT JOIN sys.syspalvalues pc ON pc.class = 'UNCL' AND pc.value = o.pclass
	WHERE o.type IN ('TA','TR') AND o.nsclass = 20 AND o.pclass = 100	-- x_eonc_TrgOnServer:x_eunc_Server
		AND has_access('TR', o.id, o.pid, o.nsclass) = 1

Last revision 2008RTM
See also

  sp_MScdc_ddl_server_trigger (Procedure)
sp_MS_marksystemobject (Procedure)
sp_refreshsqlmodule_internal (Procedure)
sp_settriggerorder (Procedure)
sp_syspolicy_set_config_enabled (Procedure)
sp_syspolicy_update_ddl_trigger (Procedure)


  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