Viewing 13 posts - 1 through 13 (of 13 total)
I made it through using the case statement...
FallNotWitnessed = ISNULL(Sum(Case when TypeName ='Fall - Not Wit' then 1 end),0),
FallWitnessed = Isnull(Sum(Case when TypeName ='Fall - Witn' then 1 end),0),
Regards,
April 14, 2014 at 11:45 pm
Hi,
Thanks for the tip.
I have removed 'Hours' from the GroupBY clause. But, no luck.
I am 100% sure that ActualDuration is a valid column.. It could be am doing some thing...
April 10, 2014 at 3:20 am
Hi Team,
I have started putting together the logic for the above requriement..
CASE
WHEN RecurrenceType =1 and Recurrenceinterval =2 and datediff(day,'07/01/2013', RecurrenceStart)/ 14 < 7 then 'Week1'
When RecurrenceType =1 and Recurrenceinterval...
April 8, 2014 at 4:59 pm
Hi,
That option is ticked already..but, no luck...
Regards.
April 6, 2014 at 10:47 pm
Ahh great..thanks for the tip..
here is the original requirement in the VB script...
Dim Recurrence As string
Select Case RecurrenceType
Case Is = 0
If Interval > 1 Then
...
April 3, 2014 at 4:42 pm
Hi Team,
Thanks all for your replies. On the same topic, I did the following approach and it is throwing an error, if I include the statement which I have highlightes...
April 3, 2014 at 4:04 pm
Hi,
You can try this
ColumnB = Right(colname, LEN(colname) - 4)
Regards.
April 2, 2014 at 6:51 pm
Hi Adi,
Thanks for the prompt reply.
is this of any help?
create table sampletable
apptid int not null,
starttime datetime,
duration int,
ESO int,
LSO int,
insert into sampletable values (1,2013-01-12 09:45:00:0000, 10,15,15)
regards,
krishna.
March 24, 2014 at 3:20 am
Thanks for the reply.
Since I already have the data in the database.. do I need to declare those variables OR I can go directly to the date funtcions as you...
March 24, 2014 at 2:59 am
Hi Lutz,
Thanks for your reply.
What happens, if I want to make my select statement dynamic.
My actual request from client is to get all the incidents that are raised as a...
July 16, 2011 at 7:11 pm
Hi Ron,
Thanks for your time. I found the solution.
Thanks.
June 15, 2011 at 11:08 pm
Hi Ron,
Thanks for guiding me to make sure my posting are readable and understandable.
I need the o/p to be CustomerNo, Date, Detail ans the specs are as follws
Date Column:
A customer...
June 13, 2011 at 11:53 pm
Viewing 13 posts - 1 through 13 (of 13 total)