A
ageno
Guest
I have a problem that is a kin to the SQL "Exploding Parts" problem scenerio
I have a table 300,000 rrecords, that is made up of the following fields:
Office - text
CallDate - Date
StartTime - Time
FinishTime - Time
A sample of the data is as follows:
Office1 9/3/02 3:00:09 PM 3:01:09 PM
Office1 9/3/02 3:00:18 PM 3:09:18 PM
Office1 9/3/02 3:01:12 PM 3:03:12 PM
Office1 9/3/02 3:01:15 PM 3:01:15 PM
Office1 9/3/02 3:02:00 PM 3:08:00 PM
Office1 9/3/02 3:02:12 PM 3:04:12 PM
Office1 9/3/02 3:02:57 PM 3:05:57 PM
This data is telephone calls. I am attempting to determine that when a call starts, how many other calls are occuring during the period of that calls starttime and endtime. Basically, concurrent calls.
In essense each record, needs to query a subset of the entire recordset, only if the primary record equals the office and date, there by reducing the entire recordset of 300,000, down to a more manageable set, that is relevant.
Any assistance is greatly appreciated.
Gene.
I have a table 300,000 rrecords, that is made up of the following fields:
Office - text
CallDate - Date
StartTime - Time
FinishTime - Time
A sample of the data is as follows:
Office1 9/3/02 3:00:09 PM 3:01:09 PM
Office1 9/3/02 3:00:18 PM 3:09:18 PM
Office1 9/3/02 3:01:12 PM 3:03:12 PM
Office1 9/3/02 3:01:15 PM 3:01:15 PM
Office1 9/3/02 3:02:00 PM 3:08:00 PM
Office1 9/3/02 3:02:12 PM 3:04:12 PM
Office1 9/3/02 3:02:57 PM 3:05:57 PM
This data is telephone calls. I am attempting to determine that when a call starts, how many other calls are occuring during the period of that calls starttime and endtime. Basically, concurrent calls.
In essense each record, needs to query a subset of the entire recordset, only if the primary record equals the office and date, there by reducing the entire recordset of 300,000, down to a more manageable set, that is relevant.
Any assistance is greatly appreciated.

Gene.