April 16, 2012

sp_assembly_dependencies_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_assembly_dependencies_rowset_rmt(nvarchar @server
, nvarchar @catalog
, int @assembly_id
, nvarchar @assembly_schema
, int @assembly_referenced)

MetaData:

   
create procedure sys.sp_assembly_dependencies_rowset_rmt
(
@server sysname,
@catalog sysname = null,
@assembly_id int = null,
@assembly_schema sysname = null,
@assembly_referenced int = null
)
as
select
ASSEMBLY_CATALOG,
ASSEMBLY_SCHEMA,
ASSEMBLY_ID,
REFERENCED_ASSEMBLY_ID
from
-- ISSUE - below pseudo-function is not exposed by metadata code!
sys.fn_remote_assemblydependencies(@server,
@catalog,
@assembly_id,
@assembly_schema,
@assembly_referenced)
order by 1, 2

No comments:

Post a Comment

Total Pageviews