oracle:判断字段是否全是数字

select * from test t where length(t.id) = 6 and trim(translate(t.id, '0123456789', ' ')) is null
相关文章
相关标签/搜索