sys.assemblies (Transact-SQL)


THIS TOPIC APPLIES TO:yesSQL Server (starting with 2008)noAzure SQL DatabaseyesAzure SQL Data Warehouse yesParallel Data Warehouse

Returns a row for each assembly.

Column nameData typeDescription
namesysnameName of the assembly. Is unique within the database.
principal_idintID of the principal that owns this assembly.
assembly_idintAssembly identification number. Is unique within a database.
clr_namenvarchar(4000)Canonical string that encodes the simple name, version number, culture, public key, and architecture of the assembly. This value uniquely identifies the assembly on the common language runtime (CLR) side.
permission_settinyintPermission-set/security-level for assembly.

1 = Safe Access

2 = External Access

3 = Unsafe Access
permission_set_descnvarchar(60)Description for permission-set/security-level for assembly.



is_visiblebit1 = Assembly is visible to register Transact-SQL entry points.

0 = Assembly is intended only for managed callers. That is, the assembly provides internal implementation for other assemblies in the database.
create_datedatetimeDate the assembly was created or registered.
modify_datedatetimeDate the assembly was modified.
is_user_definedbitIndicates the source of the assembly.

0 = System-defined assemblies (such as Microsoft.SqlServer.Types for the hierarchyid data type)

1 = User-defined assemblies

The visibility of the metadata in catalog views is limited to securables that a user either owns or on which the user has been granted some permission. For more information, see Metadata Visibility Configuration.

CLR Assembly Catalog Views (Transact-SQL)
Catalog Views (Transact-SQL)

Community Additions