Viewing 15 posts - 46 through 60 (of 62 total)
This isn't going to work because it's going to generate the Top 10 for all records, I need the Top 10 for each ID. I think Jeff's solution may work,...
July 22, 2009 at 11:14 am
I need all the data, for instance a docid may have 74 records but I need only the top 10
Hope this is easier...
For each DOCID...
select top 10
x.DocID,o.OPTY_ID, o.OPPTY_NAME, o.SUM_WIN_PROB, o.COMMIT_FLAG,
isnull(p.TOT_MRV,...
July 21, 2009 at 2:53 pm
I am the admin though and I can't schedule these reports either. I am able to schedule any reports I build in .Net though no problem
April 23, 2009 at 9:28 am
Sorry, good question. The next Sunday
So if I was to pass in todays date I would get 11/23/08
November 21, 2008 at 11:01 am
Do Ipossibly need some form of cursor here to produce a SQL statement
October 22, 2008 at 11:48 am
Thanks but there are many more fields that I would rather not pull into a union all.
October 22, 2008 at 11:41 am
Matt, you are a life saver! Was beating my head over it. Was the first time ever used Pivot and had copied the code from an "Expert" site. Thanks!
September 11, 2008 at 3:51 pm
Can this be accomplished in any sort of cursor?
September 11, 2008 at 3:36 pm
What do you mean by concatenate on the server???
September 11, 2008 at 3:18 pm
The Comment field in the existing table is VarChar(2000).
September 11, 2008 at 3:15 pm
I have tried this over and over and can't find my error, any help would be appreciated
September 11, 2008 at 3:06 pm
This is the result I get................................
BidId(no column name)(no column name)(no column name)(no column name)(no column name)(no column name)
518CancelledIn ProgressLossNewNo BidReferred Out
527CancelledIn ProgressLossNewNo BidReferred Out
537CancelledIn ProgressLossNewNo BidReferred Out
540CancelledIn ProgressLossNewNo BidReferred Out
559CancelledIn...
September 11, 2008 at 12:06 pm
Viewing 15 posts - 46 through 60 (of 62 total)