begin time and start time query
Posted
by shanks
on Stack Overflow
See other posts from Stack Overflow
or by shanks
Published on 2010-04-24T12:48:03Z
Indexed on
2010/04/24
12:53 UTC
Read the original article
Hit count: 251
I have following data and using SQL Server 2005
UserID UserName LogTime LogDate 1 S 9:00 21/5/2010
1 S 10:00 21/5/2010
1 S 11:00 21/5/2010
1 S 12:00 21/5/2010
1 S 14:00 21/5/2010
1 S 17:00 21/5/2010
Need Output as:-
1 S 9:00 10:00 21/5/2010
1 S 11:00 12:00 21/5/2010
1 S 14:00 17:: 21/5/2010
I had used ROW_NUMBER function in query but its showing error
© Stack Overflow or respective owner