April 22, 2012

sp_enumerrorlogs (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_enumerrorlogs(int @p1)

MetaData:

 create proc sys.sp_enumerrorlogs(  
@p1 int = 1)
as
begin

IF (not is_srvrolemember(N'securityadmin') = 1)
begin
raiserror(15003,-1,-1, N'securityadmin')
return (1)
end
exec sys.xp_enumerrorlogs @p1
end

No comments:

Post a Comment

Total Pageviews