Quantcast
Channel: SQLServerCentral » Reporting Services » Reporting Services » Latest topics
Viewing all articles
Browse latest Browse all 2791

Parameter without declaring

$
0
0
Hi,I want to use the below query in the SSRS report.It is throwing error you must use declare statement. If I use declare it is not taking. How can we do this?select a.ID, b.name, c.datefrom table ajoin table bon a.id=b.idjoin tablecon b.name=c.namewhere a.ID=@IDIf I remove the where a.id=@ID and select the dataset properties and choose parameter what is the parameter name and what is the parameter value I have to enterImmediate response is very helpfuland it should work for multiple ids

Viewing all articles
Browse latest Browse all 2791

Trending Articles