Analyzing oracle regular expressions string contains only numeric

Analyzing --oracle regular expressions string contains only numeric
select * from bb where regexp_like (id , '^ + [1-9] [0-9] * $?');

 

- using a regular expression and function Oracle sort 
order by to_number (regexp_substr (field name, '[0-9] * [0-9]', 1))

Guess you like

Origin www.cnblogs.com/liutoliu/p/11818748.html