I have a stored procedure called sp_PivotMWR. It has much more data than I need for display purposes right now.
As a first step I wanted to sort the data.
Compiler complains about Incorrect syntax near ')'.
I am using SQL Express 2014
Found some answers to this questions but it was all for much older versions.
var sqlSelect = @" SELECT * FROM ( EXEC [dbo].[sp_PivotMWR] @0, @1 ) ORDER BY AMSTxnId DESC";