Viewing 15 posts - 226 through 240 (of 621 total)
tm3 (12/29/2009)
December 29, 2009 at 10:06 am
tacy.highland (12/29/2009)
December 29, 2009 at 9:43 am
Paul Morris-1011726 (12/28/2009)
Guess my only other question is, Does SSRS drop temp tables after execution or do I need to add the following:DROP TABLE #DaysinStatus
It will be dropped when your...
December 28, 2009 at 3:18 pm
Paul Morris-1011726 (12/28/2009)
On the last row(what is returned)
2009-12-25 00:00:00.000 Some Status3 ...
December 28, 2009 at 2:35 pm
Paul Morris-1011726 (12/28/2009)
pickdate status rownumStatusDays
2009-01-01 00:00:00.000New Case127
2009-01-28 00:00:00.000Released247
2009-03-16 00:00:00.000Treating392
2009-06-16 00:00:00.000Submitted430
2009-07-16...
December 28, 2009 at 1:55 pm
Paul Morris-1011726 (12/28/2009)
I am going to need some help as I move along in learning and want to...
December 28, 2009 at 1:39 pm
Ok, forgive me for seeming dense, but the greatest date of any in your sample data is '6/16/2009'. I don't see how you expect to return a value of...
December 23, 2009 at 2:32 pm
Paul Morris-1011726 (12/23/2009)
2009-01-01 00:00:00.000New Case127
2009-01-28 00:00:00.000Released247
2009-03-16 00:00:00.000Treating392
2009-06-16 00:00:00.000Submitted4NULL
If all you need to do is get rid of that NULL up there, see if this works...
SELECT
d.pickdate,
d.status,
d.rownum,
DATEDIFF(day, d.pickdate,...
December 23, 2009 at 1:15 pm
Ivanna Noh (12/21/2009)
...the bridge has got 6 manual adjust winders...
Those little fine tuning screws at the bridge are great - so easy to get a perfect tuning that way (assuming...
December 23, 2009 at 12:32 pm
RBarryYoung (8/7/2008)
Jack Corbett (8/7/2008)
I wouldn't call myself a musician, but I play Bass Guitar. Contemporary Christian and Christian Rock mainly.
My oldest son is a Bass Guitarist. I met...
December 23, 2009 at 12:19 pm
Paul Morris-1011726 (12/23/2009)
StatusDays =
CASE
WHEN d.rownum <> MAX(d.rownum) THEN DATEDIFF(day, d.pickdate, nextd.pickdate)
...
December 23, 2009 at 12:09 pm
Paul Morris-1011726 (12/23/2009)
December 23, 2009 at 10:10 am
Paul Morris-1011726 (12/23/2009)
December 23, 2009 at 9:51 am
mail2payan, you should read Jeff Moden's article on the tally table, to understand the solution provided by arun.sas. It can be found here...http://www.sqlservercentral.com/articles/T-SQL/62867/. If you are not familiar...
December 23, 2009 at 7:55 am
Thanks Lynn. I'm going to have to take some time to figure this out, since I have never taken the time to figure out the new stuff like OVER().
December 22, 2009 at 11:12 am
Viewing 15 posts - 226 through 240 (of 621 total)