Other Pattern-Matching Operators

There are a number of pattern-matching operators that you can use inside a MATCHING clause.

Operator

Symbol

Description

Sequence

,

The events separated with the sequence operator must appear within the event interval in the sequence specified in the MATCHING clause. A,B means that event B must follow A in order to match. Sequences may not contain two non-events. Thus A, !B, C is valid but !A, B, !C is invalid.

Negation

!

The non-event may not appear in the event interval.

Conjunction ("and")

&&

Both events must appear in the event interval but either event may occur first.

Disjunction ("or")

||

Either event (or both) may appear in the event interval.


Created March 8, 2010. Send feedback on this help topic to Sybase Technical Publications: pubs@sybase.com