Define SQL Server Assemblies

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 physical model.

To define a SQL Server assembly

  1. Click Assemblies on the Database menu.

    The SQL Server Assembly Editor opens.

  2. Select the assembly in the Navigation Grid that you want to define and work with the following options:

    Note: Click New <New> icon in property editors on the toolbar to create a new assembly.

  3. Click the General tab and work with the following options:
  4. Click the Permission tab to define the permissions for the assembly.
  5. (Optional) Click the Comment tab and enter any comments that you want to associate with the assembly.
  6. (Optional) Click the UDP tab to work with user-defined properties for the assembly.
  7. Click Close.

    The assembly is defined and the SQL Server Assembly Editor closes.

More information:

Define Permissions for an Object in a SQL Server Property Editor

Define SQL Server Synonyms

Add a Comment in a Property Editor

Add a UDP in a Physical Property Editor

Define SQL Server Files


Copyright © 2009 CA. All rights reserved. Email CA about this topic