📣
TiDB Cloud Premium is now in public preview. Unlimited growth, instant elasticity, advanced security for enterprise workloads. Try it out →

NOT LIKE



Pattern not matching using an SQL pattern. Returns 1 (TRUE) or 0 (FALSE). If either expr or pat is NULL, the result is NULL.

Syntax

<expr> NOT LIKE <pattern>

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 | +----------+------------+

Was this page helpful?