A
A
avp2017-01-03 18:13:13
SQL
avp, 2017-01-03 18:13:13

How to count time in Time fields?

The table has a start and end time field. There can be multiple entries for one day. It is necessary to calculate the time how many people worked in the specified period.
So far, I'm only considering the option, through arrays in C ++ and a lot of queries to the MS SQL DBMS.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
d-stream, 2017-01-03
@d-stream

what's wrong with classic datediff ? it is possible even at once the calculated field to make.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question