cengland0 (2/22/2012)
Can't this be accomplished by a simple query like this:
select
productID,
min(EventTime) as StartTime,
max(EventTime) as EndTime,
RoleName
From [YourTableNameHere]
Group by
ProductID,
RoleName
That would work however there are userid's that repeat, so the min...