Home » SQL & PL/SQL » SQL & PL/SQL » time slots of 1 hour within a fixed working hours
time slots of 1 hour within a fixed working hours [message #620739] Tue, 05 August 2014 11:45 Go to next message
oraclehi
Messages: 41
Registered: July 2012
Location: India
Member
Hello
my requirement is to show timeslots of 1 hr for different workshops. for example i have a workshop whose starting time is 9:30 am and closing time is 08:00.
now i need to show booked appointment for each 1 hr, like:
time booking
9:30-10:30 5
10:30-11:30 3
.
.
7:30-8:00 7

how do i divide time in 1 hr slots on a display item.
Re: time slots of 1 hour within a fixed working hours [message #620752 is a reply to message #620739] Tue, 05 August 2014 14:02 Go to previous messageGo to next message
Lalit Kumar B
Messages: 3174
Registered: May 2013
Location: World Wide on the Web
Senior Member
oraclehi wrote on Tue, 05 August 2014 22:15
for example i have a workshop whose starting time is 9:30 am and closing time is 08:00.


8 PM or 8 AM(next day)?

Please post a test case.
Re: time slots of 1 hour within a fixed working hours [message #620755 is a reply to message #620739] Tue, 05 August 2014 14:06 Go to previous message
BlackSwan
Messages: 26766
Registered: January 2009
Location: SoCal
Senior Member
oraclehi wrote on Tue, 05 August 2014 09:45
Hello
my requirement is to show timeslots of 1 hr for different workshops. for example i have a workshop whose starting time is 9:30 am and closing time is 08:00.
now i need to show booked appointment for each 1 hr, like:
time booking
9:30-10:30 5
10:30-11:30 3
.
.
7:30-8:00 7

how do i divide time in 1 hr slots on a display item.


I fail to see what any of the above has to do with Oracle.
For all we know you could be using EXCEL or ACCESS.

How will you or I recognize when correct solution has been posted here?
Previous Topic: Schedule Job in Oracle - With conditions
Next Topic: Alter statement issue in PL/SQL block
Goto Forum:
  


Current Time: Sat Apr 20 00:22:16 CDT 2024