Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想从我的数字表中选择索引中除了 + 之外没有任何字符的数字表。 例如:
+991234567 没问题
98+4587889不行
14asdasda54866666 不行
我应该如何写我的查询?
这是带有正则表达式的查询
SELECT number FROM Table1 WHERE number NOT REGEXP '^\\+{0,1}(0|1|2|3|4|5|6|7|8|9)*$'
SQL小提琴