text

SIMILAR TO

SQL regular-expression pattern matching must consume the entire input. Unlike POSIX matching, percent and underscore retain wildcard meanings.

Formal Syntax & Structure

sql syntaxsql
text SIMILAR TO pattern

Working Example

Example Snippetsql
SELECT 'AB12' SIMILAR TO '[A-Z]+[0-9]+';
SQL Reference