Viewing 10 posts - 1 through 10 (of 10 total)
But there is no excuse
CELKO, Sorry the method in which I supplied the data didn't meet your high standards. I will tell you what I think there...
November 27, 2012 at 8:07 pm
Seth,
You are awesome. Work like a charm. Any chance of giving a breif explanation of what it is doing. I am not familiar with the ";with C1...
January 28, 2011 at 3:21 pm
Mike01,
Thank for the reply. I am not sure what BOL is but your reply gave me something to do a google search on and I found the answer.
The max...
May 12, 2010 at 10:54 am
Lowell and ksullivan,
Thanks to you both. Works great! ksullivan thanks for showing both options.
June 30, 2009 at 8:01 pm
Lowell,
Thanks for the quick response. I have tried:
DATEDIFF(n,dbo.Assgn_Patient_List.Start_DTime, dbo.Assgn_Patient_List.End_DTime)*1.0 /
DateDiff(n,dbo.Assgn_Shift_Summary.Start_DTime,dbo.Assgn_Shift_Summary.End_DTime) AS PercentofTimeOnShift
DATEDIFF(n,dbo.Assgn_Patient_List.Start_DTime, dbo.Assgn_Patient_List.End_DTime) /
DateDiff(n,dbo.Assgn_Shift_Summary.Start_DTime,dbo.Assgn_Shift_Summary.End_DTime)*1.0 AS PercentofTimeOnShift
but I end up with the same result of zero. Did...
June 30, 2009 at 7:25 pm
That does work. I can live without the newline and just separate each criteria with a semi-colon.
The script run fine on my test server which is 2005 but I...
June 19, 2009 at 11:09 am
Bob and Flo,
I finally found time to run this against our test system and it works like a perfect.
THANKS!!!
April 3, 2009 at 10:11 am
Well...this looks like the solution. I will try to run this against my test database tomorrow. I will take some time for verification of the data. I...
March 31, 2009 at 3:35 pm
Bob and Flo,
I have tried to run your solutions but I am getting errors as listed below. I am wondering if it is because we run SQL2000, which I...
March 31, 2009 at 12:43 pm
Bob and Florian,
Thanks for the super quick response I really appreciate it. I had read the information at the link you provided Bob but obviously didn't comprehend it. ...
March 30, 2009 at 3:17 pm
Viewing 10 posts - 1 through 10 (of 10 total)