Hi,
How can I treat multiple, contiguous records as one record?
i.e.,
tblData(
a varchar,
t datetime
)
select * from tblData
order by a,t
then, for row n, if a(n) = a(n+1) and t(n) <= t(n+1) (seconds) then
treat record n as the same as n+1, discard record n+1 and continue,
else start again with the next row.
Anyone got an idea? Just writing this I'm thinking I'm going to have
to venture into cursor territory (new for me).
TIA
Chandy