Viewing 15 posts - 1,246 through 1,260 (of 1,492 total)
We' re still testing it and most likely it will change.
Right now we have an issue with storing Parameter values for "Mutliple list".
Example:
CURRENCY:
USD
CAD
GBP
We need to be able to store all...
October 20, 2009 at 10:03 am
We use a main table for all subscribers, and another table for each report. So if someone gets more than 1 report, we only have to list them once.
And you...
October 20, 2009 at 7:37 am
Posting schema and sample data, along with expected results will help out a lot.
Sounds like you want Prior Day, MTD, and YTD.
Although you also have to be careful with MTD...
October 2, 2009 at 8:08 am
Roy Ernest (10/2/2009)
The water cooler has been too quiet for my liking. I am getting withdrawal symptoms. What is happening? Where is everyone? 🙁
Offer up some free beer and see...
October 2, 2009 at 7:06 am
Compare yy, mm, dd of date_closed to getdate()
Wonder if the OP is even looking anymore?
Interesting to hear if they think their problem is solved.
Greg E
October 2, 2009 at 6:59 am
You are correct.
When I've done this, it's with a query that starts at the beggining of the year.
So I don't need to quallify with the year too.
Greg E
October 2, 2009 at 6:14 am
Something along these lines...
sum(case when DATEPART(yy,date_closed) = DATEPART(yy,getdate()) then 1 else 0 end) as 'YTD',
sum(case when DATEPART(mm,date_closed) = DATEPART(mm,getdate()) then 1 else 0 end) as 'MTD',
sum(case when DATEPART(dd,date_closed) =...
October 1, 2009 at 3:11 pm
Roy Ernest (9/29/2009)
Telepathy... Thats what you all lack....:-D
Isn't date_closed = calendardate in the join
like saying
1=1?
So the query is working perfectly.
And I think I saw a teaser to this effect.....
Greg...
September 30, 2009 at 2:50 pm
in your join criteria...
ON CONVERT(VARCHAR(11),date_closed,120) = CONVERT(VARCHAR(11),[CalendarDate],120)
If you are joining on dates (date_closed to CalendarDate), they will always be the same.
So all your case staements are effectively =
DAY - wouldn't...
September 30, 2009 at 2:42 pm
I agree with the others - until you find the root cause, and know why it's causing the problem, you cannot fix anything.
What you are doing is like getting a...
September 23, 2009 at 12:55 pm
9/11 - a day that I too always take time for a moment of silence and prayers for all the innocent lives lost.
Something I will never forget.
Greg E
September 11, 2009 at 8:36 am
Jan Van der Eecken (9/9/2009)
GilaMonster (9/9/2009)
Silverfox (9/9/2009)
No it isnt, Gail made some money by the sounds of it.
No I didn't. No one local was willing to bet that the pigeon...
September 9, 2009 at 2:53 pm
Try changing to a completely different account (through the configuration manager), apply, and then change it back to the original credentials.
Greg E
September 1, 2009 at 6:30 am
Another factor can be other systems in the network may already have existing Service Level Agreements. It may not make sense to try and promise up time in the same...
September 1, 2009 at 6:12 am
GilaMonster (8/31/2009)
August 31, 2009 at 2:22 pm
Viewing 15 posts - 1,246 through 1,260 (of 1,492 total)