Viewing 11 posts - 31 through 41 (of 41 total)
Lol! Thanks Phil, its works perfectly 🙂
August 15, 2012 at 2:43 am
Thank you so much for your help, the last query works perfectly 🙂
April 18, 2012 at 4:39 am
This I understand.
You'll need to use a Calendar or Tally table. I'll see if there is something I can put together for you.
No loops! No CURSORs! No RBAR! Hoo-uh!
------------------------------------------------------
Thanks,...
April 18, 2012 at 4:22 am
Hi dwain.c,
The second result set is just an example not the exact dates in the table, this what I'm trying to achieve
if the dates are as follows:
StartDate ...
April 18, 2012 at 4:10 am
Hi ChargeIt,
maybe I wasn't clear in my prev post I don't want to limit the results for the specific dates that I posted and the time part of the...
April 18, 2012 at 3:56 am
Both queries work, I've used the one without the inner query to avoid a long script.
Thank you so much!!
October 26, 2011 at 4:31 am
Daniel Forrester 123 I ran your query as well, but it returned 0's for all rows.
October 26, 2011 at 4:09 am
Cadavre's query worked perfectly.
Thanks 🙂
October 26, 2011 at 4:07 am
Hi, This works perfectly, but its not How I need to display the data:
Select intRequisitionId,
SUM(CASE WHEN ISNULL(dteFirstApproverDateNotified,0) <> 0 THEN 1 ELSE 0 END ) AS column1,
SUM(CASE WHEN ISNULL(dteSecondApproverDateNotified,0)...
October 26, 2011 at 3:35 am
I had 1 where i have the question marks, but i want to display the actual count not the no.1 where the 'notified date' is not null
for all the...
October 26, 2011 at 3:28 am
Viewing 11 posts - 31 through 41 (of 41 total)