Viewing 10 posts - 1 through 10 (of 10 total)
Hi Chat,
Thanks a lot...
you simply solved. my brain not worked at that moment 🙁
Thanks & Cheers.
August 12, 2014 at 3:59 am
Hi,
That's amazing... its working ... thanks a lot...
November 18, 2013 at 7:08 am
Thanks a lot for all your suggestions.
My management planned to get the license from Oracle. So if they implement the oracle i need to migrate the SQL to Oracle. SO...
June 20, 2011 at 8:28 pm
Thanks Andrew.
Your script more helpful. Your answer reaching nearer.
I need to merge only particular hour. ie i need to merge everyday 2330 hrs data with 2300 hrs data and summed...
March 23, 2011 at 7:41 pm
Hi,
here i'm giving in detail
create table dbo.tblCount
(
ctID int(3) not null,
ctDate DateTime,
CtCount int
)
Insert into tblCount (ctId, CtDate, CtCount) Values (1,'20110210 10:00:00', 23)
Insert into tblCount (ctId, CtDate, CtCount) Values (1,'20110210 10:30:00', 40)
Insert...
March 7, 2011 at 12:54 am
HI,
Thanks for reply and sorry for late reply, Here the DDL
Update tblCount SET count=(select count from tblCount where id='10' and date='20110229 10:00:00') WHERE id='10' and date='20110220 10:00:00'
the output is...
March 4, 2011 at 5:11 am
HI,
Thanks for reply,
I got the result
Here i used to convert dateandtime from character string.
Select [highlight=#ffff11]CONVERT(DATETIME[/highlight],CONVERT(varchar(8), ctdate, 112)+
convert(varchar(2), Datepart(hh, CtDate))+'00'+'00' ,[highlight=#ffff11]102)[/highlight]as CtDate ,
from Testing
group by CONVERT(varchar(8), ctdate, 112),...
February 1, 2011 at 12:03 am
HI,
Thanks for your kind reply.
Still i find difficult to get out the output.
Any other ideas,
Thanks
January 29, 2011 at 8:37 am
HI,
Thank you so much. i got the result.
And one more help.
i want to update the same table to Hour slot
For eg,
1/20/2011 12:00 and 1/20/2011 12:30 this need to...
January 28, 2011 at 9:51 am
Hi,
sorry i'm new to this... i dono that much.
Could you kindly explian little more
Thanks
January 28, 2011 at 8:55 am
Viewing 10 posts - 1 through 10 (of 10 total)