Quantcast
Channel: SQL Server Reporting Services, Power View forum
Viewing all articles
Browse latest Browse all 10045

How can i use order by within Cascading

$
0
0

Hi All:

I am having problem of Cascading and order by, i need to bind the 2nd parameter to the 1st parameter and i am trying to tidy up the 2nd parameter when it shows up. Therefore i need an order by like the code below, but it is not allowed.

Looking forward to your great answers. Thanks in advance. (also i have updated the screenshot there)

 

 

PROCEDURE[dbo].[CascadingPriceHotelNameBrandName]

(

@BName VARCHAR(50))

AS

BEGIN

SET

NOCOUNTON(

SELECT

AName from[dbo].[xxxList]

WHERE

Bname =@BName

Order by .... (THIS IS ACTUALLY NOT ALOOWED)

)

END





Viewing all articles
Browse latest Browse all 10045

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>