I have 2 tables with data that need to be joined. One table has hourly information and another table has daily information. I need to have the table with daily information broken out into hourly information. For each date range i.e. 10/19/06 21:51 - 10/20/06 6:19, I need to have the minutes for each hour. All of this info needs to be put into a table. the date range of data to be pulled is in a form that the user fills in. START_DATE and END_DATE.
Any ideas how to accomplish this? I was thinking that I could do some sort of loop to write to a table for every date range within the selected range. Would this work? What is the right code?
Thanks so much!
Any ideas how to accomplish this? I was thinking that I could do some sort of loop to write to a table for every date range within the selected range. Would this work? What is the right code?
Thanks so much!