GIS ObjectLand. User Manual
previouscontentsnext / Tables and queries / Chapter 26. Searching records in a table / Relations

Relations of matching the pattern

Relations of matching the pattern permit the user to compare string fields and also the fields of date and time with the operand pattern. Simple condition using comparison relations should have one operand – a pattern. In table 26-5 relations of matching the pattern admissible for ObjectLand are given.

symbol

name

Requirement for true simple condition

*

Matching

The field value matches the pattern specified by the operand

~*

Not Matching

The field value does not match the pattern specified by the operand

Table 26-5. Relations of matching the pattern

In the pattern for string fields special wildcard characters*” and “?” can be used. These characters denote, respectively, “any (perhaps zero) number of any characters” and “one arbitrary character”.

Examples:

In the pattern for field types “Date”, “Time” and “Timestamp” only the wildcard character “*” can be used. The pattern format should correspond to the format of date and time set in Windows (for example, M/dd/yyyy hh:mm:ss AM/PM), the character “*” can replace date, month, year and also hours, minutes and seconds:

previoustopnext