Thanks Jim, I used few select statements similar to yours but not giving me what I need. sorry if I confused you, finding the timestamp is easy.
I need a script that looks at every unique timestamp then evaluate the relevant results and flag if any it is a repeating fails.
In my data I always have 4 consecutive rows with same timestamp. good data should not have the same repeating fail within same time stamp.
as I mentioned timestamp is not static it keeps changing but always 4 consecutive rows will have the same timestamp.
I am trying to automate this since each file I get will have 100k rows in it.
Thank you