Groups | Blog | Home
all groups > sql server reporting services > march 2005 >

sql server reporting services : How to tell reporting services not to change my query


RayAll
3/11/2005 3:16:45 PM
can someone tell me if it is possible to turn off Reporting Services query
"beautifier" ? The particular query I am working on right now gets so
re-written that it is much more dificult to read and understand. I would
like it to be left the way I enter it. Is it possible, or Microsoft knows
best?

thanks

RayAll
3/11/2005 4:21:20 PM
But it dosen't work if I use vb.net codes like "Paramtere!param1.Value"
,,right?

Thanks
[quoted text, click to view]

RayAll
3/11/2005 4:22:37 PM
What's the disadvantge of using direct queries in my report rather than just
calling an storedprocedure.

Thanks
[quoted text, click to view]

RayAll
3/11/2005 6:03:55 PM
Thanks for your help.

I got you , so RS mapps @Param to Paramters!paramter1.value ,,right?

Thanks
[quoted text, click to view]

Bruce L-C [MVP]
3/11/2005 7:15:35 PM
Go to the generic query window (hover over the buttons to the left of the
.... to find the right button).


--
Bruce Loehle-Conger
MVP SQL Server Reporting Services

[quoted text, click to view]

Bruce L-C [MVP]
3/11/2005 8:10:02 PM
You can still use query parameters in your query. Be sure you understand the
difference between query parameters and report parameters. RS creates the
report parameter automatically for you (most of the time, in the generic
query design that sometimes is not the case). So you can still do this in
the generic query designer:

select a.somefield, b.someother field from table1 a inner join table2 b on
a.joiningfield = b.joiningfield where a.anotherfield = @Param

Note that @Param will cause RS to create a report parameter called Param.

You can also go against stored procedures. I do both all the time.


--
Bruce Loehle-Conger
MVP SQL Server Reporting Services

[quoted text, click to view]

Bruce L-C [MVP]
3/12/2005 12:11:30 AM
If RS creates the report parameter it will be whatever you name the query
parameter, case sensitive. If you are going against ODBC data source then it
is unnamed ( you use a ? as the placeholder) and RS creates the report
parameter as Parameter1, Parameter2. If named (SQL Server) then if you named
it @SomethingSpecial then the report parameter would be SomethingSpecial and
the mapping is to Parameters!SomethingSpecial.Value

Play with it some and it will make sense.


--
Bruce Loehle-Conger
MVP SQL Server Reporting Services

[quoted text, click to view]

AddThis Social Bookmark Button