Skip to main content
Scalar function
NULL value or pattern returns NULL.

Syntax

Scalar

Arguments

Returns

  • Type: BOOLEAN
  • NULL behavior: NULL value or pattern returns NULL.

Properties

Usage notes

  • % matches zero or more characters; _ matches one character.
  • NOT LIKE is a negated comparison form.
  • Deterministic: The same inputs and settings produce the same result.

Examples

Typical behavior

Single-character wildcards

Limitations

  • A custom escape must be a one-character STRING literal. When supplying a custom escape, the pattern must also be a literal.
Last modified on October 15, 2026