Home
Microsoft SQL Server
  - System tables
  - Procedure
    - Change Data Capture
    - Constraints
    - Files & folders
    - Fulltext (EFTS)
    - Index
    - Login & Users
    - OleDb
    - Oracle
    - Replication
    - Scripting
    - Server
    - Spatial geo
    - SQL Server Agent
    - Transaction
    - Trigger
    - XML
    - Uncategorized
  - Views
    - DMV
  - Functions
DigiMailing
Contact
The name of the object you are looking for
sp_assemblies_rowset2

This is a procedure in the mssqlsystemresource database.
create procedure sys.sp_assemblies_rowset2
(
    @assembly_schema    sysname = null,
    @assembly_id        int = null
)
as
    select
        ASSEMBLY_CATALOG    = db_name(),
        ASSEMBLY_SCHEMA     = user_name(a.principal_id),
        ASSEMBLY_NAME       = a.name,
        ASSEMBLY_ID         = convert(int,a.assembly_id),
        PERMISSION_SET      = convert(NVARCHAR(30),
                                    case a.permission_set
                                    when 1 then 'SAFE'
                                    when 2 then 'EXTERNAL_ACCESS'
                                    when 3 then 'UNSAFE'
                                    end),
        ASSEMBLY_BINARY     = af.content
    from
        sys.assemblies a inner join
        sys.assembly_files af on
            (
                af.assembly_id = a.assembly_id
            )
    where
        (@assembly_schema is null or @assembly_schema = user_name(a.principal_id)) and
        (@assembly_id is null or @assembly_id = a.assembly_id)
    order by 1, 2, 3

Questions

Feel free to contact.
Email answer to
Question

Type this code
See also


Nieuws

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