May 15, 2012

sp_MSGetCurrentPrincipal (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_MSGetCurrentPrincipal(nvarchar @db_name)

MetaData:

 create procedure sys.sp_MSGetCurrentPrincipal  
@db_name sysname
,@current_principal sysname output
as
begin
select @current_principal = sys.fn_GetCurrentPrincipal (@db_name)
end

No comments:

Post a Comment

Total Pageviews