June 11, 2012

sp_sqlexec (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_sqlexec(text @p1)

MetaData:

 create procedure sys.sp_sqlexec @p1 text as  
declare @execstr nvarchar(max)
set @execstr = CONVERT(nvarchar(max),@p1)
exec(@execstr)

No comments:

Post a Comment

Total Pageviews