LIKE
Description
The
LIKE
expression returns true if the string matches the supplied pattern. (As expected, theNOT LIKE
expression returns false ifLIKE
returns true, and vice versa. An equivalent expression is NOT (string LIKE pattern).)
LIKE Predicate is functionally equivalent to Snowflake.
Click here to navigate to the PostgreSQL docs page for this syntax.
Grammar Syntax
The operator ~~
is equivalent to LIKE
, and ~~*
corresponds to ILIKE
. There are also !~~
and !~~*
operators that represent NOT LIKE
and NOT ILIKE
, respectively. All of these operators are PostgreSQL-specific.
Sample Source Patterns
Setup Data
PostgreSQL
Snowflake
Last updated