

Gives the integer part resulting from dividing A by B. When A and B are both integers, the result is a double type except when the pat configuration parameter is set to "0.13" or "latest" in which case the result is a decimal type. The result is a double type in most cases. Note that if the multiplication causing overflow, you will have to cast one of the operators to a type higher in the type hierarchy. The type of the result is the same as the common parent(in the type hierarchy) of the types of the operands. Gives the result of subtracting B from A. For example since every integer is a float, therefore float is a containing type of integer so the + operator on a float and an int will result in a float. All return number types if any of the operands are NULL, then the result is also NULL. The following operators support various common arithmetic operations on the operands. For example, 'foobar' RLIKE 'foo' evaluates to TRUE and so does 'foobar' RLIKE '^f.*r$'. NULL if A or B is NULL, TRUE if any (possibly empty) substring of A matches the Java regular expression B, otherwise FALSE. For example, 'foobar' like 'foo' evaluates to FALSE whereas 'foobar' like 'foo_ _ _' evaluates to TRUE and so does 'foobar' like 'foo%'. in posix regular expressions) while the % character in B matches an arbitrary number of characters in A (similar to. The _ character in B matches any character in A (similar to. The comparison is done character by character. NULL if A or B is NULL, TRUE if string A matches the SQL simple regular expression B, otherwise FALSE. (since: 3.0.0 ) Note: NULL is UNKNOWN, and because of that (UNKNOWN IS TRUE) and (UNKNOWN IS FALSE) both evaluates to FALSE. TRUE if expression A evaluates to NULL, otherwise FALSE.įALSE if expression A evaluates to NULL, otherwise TRUE.Įvaluates to TRUE only if A mets the condition. This can be inverted by using the NOT keyword. NULL if A, B or C is NULL, TRUE if A is greater than or equal to B AND A less than or equal to C, otherwise FALSE. NULL if A or B is NULL, TRUE if expression A is greater than or equal to expression B, otherwise FALSE. NULL if A or B is NULL, TRUE if expression A is greater than expression B, otherwise FALSE. NULL if A or B is NULL, TRUE if expression A is NOT equal to expression B, otherwise FALSE. Returns same result with EQUAL(=) operator for non-null operands, but returns TRUE if both are NULL, FALSE if one of the them is NULL. TRUE if expression A is equal to expression B otherwise FALSE.
