Hi as you can see from my select SELECT DISTINCT MIN(T0.PostingDate) AS 'StartPostingDate', MAX(T0.PostingDate) AS 'PostingDate',-- DATEDIFF(ss, MIN(T0.PostingDate), MAX(T0.PostingDate)) AS 'SecsTimeFrame', CAST((DATEDIFF(ss, MIN(T0.PostingDate), MAX(T0.PostingDate)) / 60)AS Decimal(18,2)) AS 'MinsTimeFrame', T2.OrderNo AS 'Order#', T0.LotNumber AS 'Lot',...
The MinsTimeFrame is being returned as a whole number followed by .00 when in fact I'd like the actual seconds value/60 returned to 2 decimal places. Can anyone help me please?Thanks