dukeslater
Technical User
I have inserted data into a temp table such as this:
Emp Type Starttime Endtime
1 A 08:00
1 A 08:30
1 B 09:00
1 C 10:00
1 B 10:30
What is the best way to get the next starttime into the previous endtime:
Emp Type Starttime Endtime
1 A 08:00 08:30
1 A 08:30 09:00
1 B 09:00 10:00
1 C 10:00 10:30
1 B 10:30
Thanks for the help...
Emp Type Starttime Endtime
1 A 08:00
1 A 08:30
1 B 09:00
1 C 10:00
1 B 10:30
What is the best way to get the next starttime into the previous endtime:
Emp Type Starttime Endtime
1 A 08:00 08:30
1 A 08:30 09:00
1 B 09:00 10:00
1 C 10:00 10:30
1 B 10:30
Thanks for the help...