Comment Comment by ekzhu Check out MATCH_RECOGNIZE. It is a new SQL feature that does just what the post describes. parent ekzhu 4 years ago