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.
是否有可能读取一个 7 位数字,如果 7 位数字返回这个 7 位数字。
例如:
'Techo*nthenet techo*5684net* Tech4589317net techonthenet'
返回:4589317
4589317
SELECT REGEXP_SUBSTR(my_column, '\d{7}') FROM my_table