Home Microsoft SQL Server DigiMailing iRN Contact
    Keyword



sys.crypt_properties

  No additional text.


Syntax
CREATE VIEW sys.crypt_properties AS
	SELECT						-- objects
		k.class AS class,
		un.name AS class_desc,
		s.id AS major_id,
		k.thumbprint AS thumbprint,
		k.type AS crypt_type,
		ct.name AS crypt_type_desc,
		k.crypto AS crypt_property
	FROM sys.sysschobjs s
	JOIN sys.sysobjkeycrypts k ON k.class = 1 AND k.id = s.id
	LEFT JOIN sys.syspalvalues un ON un.class = 'UNCL' AND un.value = k.class
	LEFT JOIN sys.syspalnames ct ON ct.class = 'CRTY' AND ct.value = k.type
	WHERE s.nsclass = 0 AND s.pclass = 1
		AND k.type <> 'INCP'
		AND has_access('SQ', s.id, s.pid, 0) = 1
	UNION
	SELECT						-- assemblies
		k.class AS class,
		un.name AS class_desc,
		s.assembly_id AS major_id,
		k.thumbprint AS thumbprint,
		k.type AS crypt_type,
		ct.name AS crypt_type_desc,
		k.crypto AS crypt_property
	FROM sys.assemblies s
	JOIN sys.sysobjkeycrypts k ON k.class = 5 AND k.id = s.assembly_id
	LEFT JOIN sys.syspalvalues un ON un.class = 'UNCL' AND un.value = k.class
	LEFT JOIN sys.syspalnames ct ON ct.class = 'CRTY' AND ct.value = k.type
	WHERE k.type <> 'INCP'

 
Last revision 2008RTM
See also

  sp_MSrepltrigpreparecert (Procedure)
sp_MSrepltrigredefine (Procedure)
sp_unlink_publication_internal (Procedure)
       



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