all groups > sql server reporting services > june 2005 >
You're in the

sql server reporting services

group:

seriouse problem


seriouse problem Wei Ming
6/20/2005 10:45:06 AM
sql server reporting services:
I am using RS, sp3 + VS 2003, Here is what I suffered.

when I use union in my script and use parameter, sometime it will cause SQL
Server shut down without any warning!
It happened 3 times and I am sure VS has some problem. Not sure if any one
out there has the same problem????
There are 50 user using the database the same time, you can imagine how
sacre I am when I use VS to design report........
RE: seriouse problem Wei Ming
6/20/2005 11:12:03 AM
To Microsoft:

If I put @var first in my script, VS will auto generate report
parameter....it works but
if I create this parameter first and use this parameter in my union
Re: seriouse problem Wei Ming
6/20/2005 12:21:04 PM
I agree with you but you did not answer my quesiton. I have 3 database
instance with same structure. I have to use union to get all the result. I
noticed that sometimes VS can shutdown my sql server, this is very scary and
hope Microsoft can fix this bug....I believe this is because I use union and
parameter together. If you define your paramter (from another dataset) first
and use it in your script ( with union ), you might see what I mean.





[quoted text, click to view]
Re: seriouse problem Wei Ming
6/20/2005 1:12:03 PM
Not use RDL properly might cause some problem, I aware of that, use UNION the
execution order not guarantee is acceptable but use UNION in VS can shut down
database is absolutely NOT acceptable.
My soluiton is to let VS generate parameter for you, it seems VS can
recongnize these parameter better than define it manually.....
Hope VS 2005 will not let me phone ring crazy like this morning.....




[quoted text, click to view]
Re: seriouse problem Bruce L-C [MVP]
6/20/2005 1:29:33 PM
If you are putting T-SQL in the design pane do not declare any variable that
is a report parameter. Just use the @Whatever and RS will create the report
parameter. If for some reason you want to do more with the report parameter
prior to using it then have a second variable that is for the report
parameter.


--
Bruce Loehle-Conger
MVP SQL Server Reporting Services

[quoted text, click to view]

Re: seriouse problem Bruce L-C [MVP]
6/20/2005 2:47:26 PM
Ahh, you are trying to tie two datasets together. First, although there is a
way to do this I wouldn't necessarily count on this behaviour to stay the
same. That being said, the order that datasets get filled in is based on the
order in the RDL. So look at the RDL and make sure that the dependent
dataset is prior to the second dataset.

Dataset execution order is not guaranteeded.


--
Bruce Loehle-Conger
MVP SQL Server Reporting Services

[quoted text, click to view]

AddThis Social Bookmark Button