Click or drag to resize
SQL_Or

[This is preliminary documentation and is subject to change.]

The TOPICA Basic function SQL_Or is used to combine logical SQL expressions with and "OR" operator.

Syntax
SQL_Or(string1, string2, string3, ...)

Result type: String.

Parameters

Name

Type

Description

stringN

String

String containing a logical SQL expression, e.g. "SomeField=2".

Returns

SQL comparison expression.

Type: String.

Examples
SQL_And("FieldX=2", "FieldY='yyy'", "FieldZ='zzz'")

Result: "(FieldX=2) OR (FieldY='xxx') OR (FieldZ='zz')".

SQL_And("FieldX=2")

Result: "FieldX=2".