Viewing 15 posts - 136 through 150 (of 221 total)
Thanks again Luke! - Copy/paste code to a new report and deploy seemed to work fine.
I'll bear in mind the other points you mentioned, right now I need to...
November 22, 2010 at 8:36 am
Incidentally, what does seem very odd is I have 6 identical parameters, all have been configured in the same way, even looking at the code in the report they are...
November 22, 2010 at 8:02 am
Thanks Luke. That makes perfect sense and seems to be working as I expected it 🙂
Rob.
November 22, 2010 at 4:00 am
Thanks for the reply Daniel. As I said I'm just getting started with reported services. It's not mission critical that it's the correct width because it gets exported to Excel,...
November 17, 2010 at 2:08 am
Thanks Lowell, I was asking this on behalf of a colleague so I shall pass this on to him 🙂
October 26, 2010 at 9:50 am
Brilliant, thanks Paul. You're correct, I am creating comma delimited strings. Initially using functions and coalesce, now giving this FOR XML thing a whirl. I'll check out the article 🙂
September 1, 2010 at 6:08 am
I'd resided myself to this idea, however, a colleague introduced me to a new technique of using FOR XML PATH and STUFF as a sub query around my main select....
September 1, 2010 at 5:18 am
I thought somebody might suggest something like that. For this particular problem I've over simplified the tables involved, and some of them don't even exist yet - so think of...
April 20, 2010 at 10:24 am
@Lynn, I tried your method, which worked fine on the small sample you gave, however, when I try it on my table I get :
Msg 1014, Level 15,...
December 10, 2009 at 7:52 am
I did wonder if the words cursor would lead to criticism! - I'll read through the other replies above and give them a go when I get a chance.
It's only...
December 10, 2009 at 7:10 am
I've been playing around with this, and come up with this, which seems to work:
DECLARE loop_cursor CURSOR
FOR
SELECT id, type FROM tblA WHERE id < 100
OPEN loop_cursor
DECLARE @id...
December 10, 2009 at 7:01 am
Thanks for the comments guys. I had spoken to a colleague before coming back on here - his advice was that a lot of the sub queries I was using...
June 2, 2009 at 1:56 am
See attached for the execution plan.
I know it's the sub queries killing it, but that's always how I've done this kind of thing.
Any help appreciated!
June 1, 2009 at 7:30 am
Lowell (6/1/2009)
a 20 minute query is unusual, unless you are threshing...
June 1, 2009 at 6:21 am
We're on 2005 at the moment, but plan to move to 2008 at some point.
I know what's slowing the query down - it's some beasty sub queries that churn...
June 1, 2009 at 6:18 am
Viewing 15 posts - 136 through 150 (of 221 total)