I want to sum the records in a table (u) which have 'P.M.' in a field value
and test against a fixed limit
something to the effect of :
case
when SUM(substring(u.sTime,1,4)='P.M.') <= 64 Then ....
except it should work
any suggestions would be appreciated
TIA