Viewing 2 posts - 1 through 2 (of 2 total)
Hello Tia, I simplify your example with translation time values to a decimal values (time 9.45 is decimal 9.75)
Run this script
Declare @Table table (Client_Rep varchar(50), Begin_Work decimal (5,2), End_Work decimal (5,2))
Insert...
June 16, 2004 at 6:28 am
#510621
Reorder where clause:
p.void = 0
and l.paymentid is null
and p.authdate between @sdate and @edate
and isnull (p.processor, 'Processed') = 'Procesed'
and p.amount != 0
June 16, 2004 at 2:40 am
#510598