NOT LIKE
Learn how to use the NOT LIKE string function in PlaidCloud Lakehouse. Pattern not matching using an SQL pattern. Includes syntax and examples.
Pattern not matching using an SQL pattern. Returns 1 (TRUE) or 0 (FALSE). If either expr or pat is NULL, the result is NULL.
Analyze Syntax
<column>.not_like(<pattern>)
Analyze Examples
my_clothes.not_like('%pants)
┌─────────────────┐
│ my_clothes │
├─────────────────┤
│ plaid pants XL │
│ plaid hat │
│ plaid shirt │
└─────────────────┘
SQL Syntax
<expr> NOT LIKE <pattern>
SQL Examples
SELECT name, category FROM system.functions WHERE name like 'tou%' AND name not like '%64' ORDER BY name;
┌──────────┬────────────┐
│ name │ category │
├──────────┼────────────┤
│ touint16 │ conversion │
│ touint32 │ conversion │
│ touint8 │ conversion │
└──────────┴────────────┘