add batch remove batch split batch comment selection show hidden batches hide batch highlight batch
db<>fiddle
donate feedback about
By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
id startDate endDate a_days a_hours sumDays
150017 2019-12-23 00:00:00.000 2019-12-24 00:00:00.000 2.00 12.30 2
150017 2019-12-27 00:00:00.000 2019-12-31 00:00:00.000 3.00 20.50 3
150035 2019-03-12 00:00:00.000 2019-03-12 00:00:00.000 0.66 5.45 1
150041 2019-01-17 00:00:00.000 2019-01-17 00:00:00.000 1.00 8.20 1
150041 2019-08-20 00:00:00.000 2019-08-21 00:00:00.000 2.00 16.40 2
150045 2019-05-13 00:00:00.000 2019-05-15 00:00:00.000 3.00 24.60 3
150045 2019-11-25 00:00:00.000 2019-11-29 00:00:00.000 5.00 41.00 5
150046 2019-03-11 00:00:00.000 2019-03-11 00:00:00.000 1.00 8.20 1
150048 2019-10-08 00:00:00.000 2019-10-08 00:00:00.000 0.30 2.50 1
150048 2019-10-28 00:00:00.000 2019-10-28 00:00:00.000 1.00 8.20 1
Msg 1087 Level 15 State 2 Line 20
Must declare the table variable "@tbl".