콘텐츠로 이동

SQL 패턴을 사용하여 패턴 불일치를 검사합니다. 1(TRUE) 또는 0(FALSE)을 반환합니다. expr 또는 pat 중 하나라도 NULL이면 결과는 NULL입니다.

<column>.not_like(<pattern>)
my_clothes.not_like('%pants)
┌─────────────────┐
│ my_clothes │
├─────────────────┤
│ plaid pants XL │
│ plaid hat │
│ plaid shirt │
└─────────────────┘
<expr> NOT LIKE <pattern>
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 │
└──────────┴────────────┘