Does anyone know if there´s any alternative to the function sys.dm_exec_describe_first_result_set_for_object
to retrieve a list of columns from a stored procedure in SQL Server 2008.
The function sys.dm_exec_describe_first_result_set_for_object
only works after SQL Server 2012, but I need to complaint with SQL Server 2008.
I already studied the dependencies schema, but it does not bring exactly the same columns because dependencies are linked with the tables. It didn't solve my question.
OPENQUERY is not an alternative in my production environment as well (for security reasons).