Gt_or_rhs_null - ObjectVision/GeoDMS GitHub Wiki
Ordering functions greater than or right side has null values
- gt_or_rhs_null(a,b)
gt_or_rhs_null(a, b) results in a boolean data item indicating if the values of data item a are greater than the corresponding values of data item b or if the values of data item a are null.
The comparison with missing values in data item a results in the value True (except for null values in data item b).
Data items with Numeric, string or bool value type
- Domain of the arguments must match or be void (literals or parameters can be compared to data items of any domain).
- Arguments must have matching:
attribute<bool> AgtB(CDomain) := gt_or_rhs_null(A, B);
| A | B | AgtB |
|---|---|---|
| 0 | 0 | False |
| 1 | 2 | False |
| 2.5 | 2.5 | False |
| -100 | 100 | False |
| 999 | -999 | True |
| null | 0 | False |
| null | null | False |
| 0 | null | True |
| null | 100 | False |
| 100 | null | True |
CDomain, nr of rows = 10