Articles → SQL SERVER → Sp_Describe_First_Result_Set Stored Procedure In The SQL Server
Sp_Describe_First_Result_Set Stored Procedure In The SQL Server
Purpose
Sample Stored Procedure
create proc sp_describe_first_result_set_demo
As
Select * from sys.objects where type='p'
Select * from sys.objects where type='u'
Execute The Stored Procedure
EXEC sp_describe_first_result_set @tsql= N'EXEC sp_describe_first_result_set_demo'
Output