Change stored procedure output column names and data types

Can we change the output column name and their data type being received from a stored procedure during execution? Yes, SQL Server 2012 introduced “WITH RESULT SETS” option which can be used with EXECUTE command to redefine the metadata of result sets being received from stored procedures. This option can handle single as well as multiple result sets. […]

Change stored procedure output column names and data types Read More »