I've been asked to write a report against a scheduling system. They want the report to show "open" time slots. The SQL tables against which I'll run the report have no records for open time slots, of course. I'm looking for a way to perhaps write a function or something that will output each/every hour of the day when I run the report. Then, I need to match the records of the scheduled events to the hour they belong to. Thus, I'd like the report to look something like:
8:00 am
8:30 am
9:00 am scheduled event (db record)
9:30 am scheduled event (db record)
10:00 am
10:30 am
etc.
Anyone ever done anything like this, or have any suggestions?
8:00 am
8:30 am
9:00 am scheduled event (db record)
9:30 am scheduled event (db record)
10:00 am
10:30 am
etc.
Anyone ever done anything like this, or have any suggestions?