Zum Inhalt springen

Mustervergleich mit einem SQL-Muster. Gibt 1 (TRUE) oder 0 (FALSE) zurück. Ist expr oder pat NULL, ist das Ergebnis NULL.

<column>.like('plaid%')
my_clothes.like('plaid%)
┌─────────────────┐
│ my_clothes │
├─────────────────┤
│ plaid pants │
│ plaid hat │
│ plaid shirt │
└─────────────────┘
<expr> LIKE <pattern>
SELECT name, category FROM system.functions WHERE name like 'tou%' ORDER BY name;
┌──────────┬────────────┐
│ name │ category │
├──────────┼────────────┤
│ touint16 │ conversion │
│ touint32 │ conversion │
│ touint64 │ conversion │
│ touint8 │ conversion │
└──────────┴────────────┘