Home Microsoft SQL Server DigiMailing iRN Contact


  No additional text.

CREATE VIEW sys.assemblies AS
	SELECT s.name AS name,
		r.indepid AS principal_id,
		s.id AS assembly_id,
		convert(nvarchar(4000), assemblyproperty(s.name, 'CLRName')) collate Latin1_General_BIN AS clr_name,
		convert(tinyint, s.intprop) AS permission_set,
		i.name AS permission_set_desc,
		sysconv(bit, s.status & 1) AS is_visible,	-- ASM_EXPLICIT_REG
		s.created AS create_date,
		s.modified AS modify_date,
		convert(bit, case when s.id < 65536 then 0 else 1 end) AS is_user_defined       -- x_MinUserAssemblyID
	FROM sys.sysclsobjs s
	LEFT JOIN sys.syssingleobjrefs r ON r.depid = s.id AND r.class = 52 AND r.depsubid = 0	-- SRC_ASMOWNER
	LEFT JOIN sys.syspalvalues i ON i.class = 'ASPS' AND i.value = s.intprop
	WHERE s.class = 10
		AND has_access('AS', s.id) = 1	-- SOC_ASSEMBLY

Last revision 2008RTM
See also

  crypt_properties (View)
dm_clr_loaded_assemblies (View)
spt_procedure_params_managed_view (View)
spt_procedure_params_view (View)
sp_assemblies_rowset (Procedure)
sp_assemblies_rowset2 (Procedure)
sp_assemblies_rowset_rmt (Procedure)
sp_assembly_dependencies_rowset (Procedure)
sp_assembly_dependencies_rowset2 (Procedure)
sp_lookupcustomresolver (Procedure)
sp_MSdrop_asm_tranrepl (Procedure)
sp_registercustomresolver (Procedure)
sp_usertypes_rowset (Procedure)
sp_usertypes_rowset2 (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