red-soft-ru / shardingsphere

Distributed SQL transaction & query engine for data sharding, scaling, encryption, and more - on any database.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add T141 SIMILAR predicate support

TedCraft opened this issue · comments


You have an error in your SQL syntax: CREATE TABLE T141 (ROW_NUM NUMERIC(3) NOT NULL ROW_NAME VARCHAR(25) NOT NULL ROW_PHONE VARCHAR(14) CHECK (ROW_PHONE SIMILAR TO '(0-9{3}) 0-9{3}-0-9{4}' escape '')) no viable alternative at input '(ROW_PHONESIMILAR' at line 1 position 119 near @28119:125='SIMILAR'<340>1:119