Quantcast
Channel: Preparing data from Stored Procedure for display in a WebGrid (in webPages 3.0)
Viewing all articles
Browse latest Browse all 6

Preparing data from Stored Procedure for display in a WebGrid (in webPages 3.0)

$
0
0

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";


Viewing all articles
Browse latest Browse all 6

Latest Images

Trending Articles





Latest Images