Data type: Boolean

The Boolean or logical data type is a primitive data type represented by the number 4 in the database dictionary. A Boolean indicates true, false or unknown (of undetermined truth value). The rules for forming a Boolean are as follows:

  • Enter the Boolean directly as true, false, NULL, unknown (t, f or u).
  • Enter the Boolean in either upper or lowercase characters.

The following formats are accepted.

Description Valid literal examples
True t = T= true = TRUE = y = Y = yes = YES
False f = F = false = FALSE = n = N = no = NO
NULL Null = NULL
Unknown u = U = unknown = UNKNOWN