April 16, 2012

sp_assemblies_rowset_rmt (Transact-SQL MetaData) Definition

Please note: that the following source code is provided and copyrighted by Microsoft and is for educational purpose only.
The meta data is from an SQL 2012 Server.

I have posted alot more, find the whole list here.

Goto Definition or MetaData

Definition:

sys.sp_assemblies_rowset_rmt(nvarchar @server_name
, nvarchar @catalog_name
, nvarchar @assembly_name
, nvarchar @assembly_schema
, int @assembly_id)

MetaData:

   
create procedure sys.sp_assemblies_rowset_rmt
(
@server_name sysname,
@catalog_name sysname,
@assembly_name sysname = null,
@assembly_schema sysname = null,
@assembly_id int = null
)
as
select
ASSEMBLY_CATALOG,
ASSEMBLY_SCHEMA,
ASSEMBLY_NAME,
ASSEMBLY_ID,
PERMISSION_SET,
DEBUG_MODE,
ASSEMBLY_BINARY
from
-- ISSUE - below pseudo-function is not exposed by metadata code!
sys.fn_remote_assemblies(@server_name,
@catalog_name,
@assembly_name,
@assembly_schema,
@assembly_id)
order by 1,2,3

No comments:

Post a Comment

Total Pageviews