Get 1 minute interval from start and end field on SQL Server -
i have table information process happens @ different intervals of time.
i need information table , data (for instance, tons) every 1 minutes.
this data on table, indicated beggining , end of each process, , need information , make graph every 1 minutes.
starttime endtime status 0 1209 4 1209 1215 2 1215 1900 4 1900 3611 4 3611 5934 2 5934 6382 4 6382 13965 2 13965 15823 4 15823 22103 2
what want this:
time status 00:01:00 4 00:02:00 4 00:03:00 2
(just example)
how can turn time given between 2 fields single interval? (the time in seconds on table, , need minutes)
Comments
Post a Comment