SQL Server assemblies contain metadata and managed code as an object in SQL Server. When you reference a SQL Server assembly you can create common language runtime (CLR) functions, stored procedures, triggers, user-defined aggregates, and user-defined types in a SQL Server database.
Use the SQL Server Assembly Editor to define the properties for an assembly whose implementation is defined in a class of a .NET framework assembly in a SQL Server 2005, 2008 or 2012 physical model.
To define a SQL Server assembly
The SQL Server Assembly Editor opens.
Note: Click New on the toolbar to create a new assembly. Use the Enter filter text box to filter a very large list of assemblies to quickly locate the one that you want to define.
Specifies the name of the assembly. Change the name of the assembly in this field.
Specifies the name of a user or role as the owner of the assembly. Make a selection from the drop-down or if no selection is made, SQL Server assumes the current user is the owner.
Generates SQL during forward engineering. Clear the check box if you do not want to generate SQL.
Specifies the code access permission granted to the assembly when it is accessed by SQL Server. Select the permission set from the drop-down.
Specifies the visibility of the assembly. Select the visibility option from the drop-down.
Specifies to enable unchecked data for the assembly. Select the check box to specify unchecked data.
Lists the assembly file names, location, and type. Select the check box for each file you want to include.
Note: Click the Sort Items icon to rearrange the list, or click the File Editor icon to add a new file or edit an existing file in the SQL Server File Editor.
The assembly is defined and the SQL Server Assembly Editor closes.
Copyright © 2013 CA.
All rights reserved.
|
|