Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQL LOOP Dates

Status
Not open for further replies.

LeighDreyer

Programmer
Mar 4, 2003
16
0
0
GB
I have a GPCT_CALENDAR table which has one Field TODAYS_DATE
it stores 10 years worth of dates. I have a start_date and an end_date Parameter. I have another table which holds patient details and lists appointments with Their Appointment Date. For each date period (Start_Date and End_Date) I need to count For each day how many appointments there are against each Calendar_Day in that period.

Not sure how to do this anyone ?.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top