CREATE ASSEMBLY
defines assembly (no row flow)
What changes
- Input
- catalog
- Output or change
- catalog: assembly
Syntax at a glance
CREATE ASSEMBLY assembly_name [ AUTHORIZATION owner_name ] FROM { <client_assembly_specifier> | <assembly_bits> [ , ...n ] } [ WITH PERMISSION_SET = { SAFE | EXTERNAL_ACCESS | UNSAFE } ] [ ; ]
Work example
A database feature depends on reviewed CLR code that is absent from T-SQL.
Inspect the signed assembly, source review, permission set, target platform, and rollback package in a lab.
Check your work The assembly identity and permission level match the approved build record.
Open Microsoft Learn for full syntax, permissions, and details for your version.