A not eq B
- 1 Minute to read
- Print
- DarkLight
- PDF
A not eq B
- 1 Minute to read
- Print
- DarkLight
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
FLogic: A!=B
Creates a flag field with value 1 where input A is not equal to input B, and value 0 where the inputs do match
Purpose
Use this function to:
- Identify and flag non-matching records
- Calculate A<>B
- Calculate A != B
- Calculate A not equal to B
Return Value
Property | Value |
---|---|
FieldType | Integer |
FieldSize | Low |
DataType | Discrete |
DataSize | Byte |
Example Return Value: 0, 1, null
Parameters
Parameter | JSON | Description |
---|---|---|
Table | “targetTable”: “MyTableName” | The target table on which the new field will be created |
Filter | “dataset”: {DataSet_JSON} | Optional. If a filter is applied, records not in the filter recordset will be returned as null. |
Function | "function”: “flogic” | FLogic |
Logic Function | "p1":"A!=B" | A!=B |
A | “p2”: “FieldName” “p2”: “#N*.N*” “p2”: “#N*” “p2”: “#MyString” “p2”: “#YYYY-MM-DD” | Required. Field or value to compare with value B Supports:
|
B | “p2”: “FieldName” “p2”: “#N*.N*” “p2”: “#N*” “p2”: “#MyString” “p2”: “#YYYY-MM-DD” | Required. Field or value to compare with value A Supports:
|
Special test cases
- To test for null, use #null
- To test for an empty string, use #
JSON Sample
Usage Notes
See Also:
- Engineering | Expression Field
- A=B (FLogic)
Example
Example | Details |
---|---|
Description | Flag all direct employees |
Input |
|
Sample |
Was this article helpful?