oracle:判斷字段是否全是數字

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