Why not just insert one row in the database at the end of each call that shows the call start time and call end time for each call?With that data it is easy to write a query that shows the total calls active each second for the whole day.select a.Second, count(*)from ( select Second = dateadd(ss,aa.NUMBER,'20061006') from -- Function available in -- Script Library Forum F_TABLE_NUMBER_RANGE(0,86399) aa ) a join MyCallTable b on a.Second between b.CallStart and b.CallEndgroup by a.Secondorder by a.Second
CODO ERGO SUM