select * from test t
where length(t.id) = 6
and trim(translate(t.id, '0123456789', ' ')) is null
oracle:判断字段是否全是数字
猜你喜欢
转载自blog.csdn.net/m0_38084243/article/details/84566702
今日推荐
周排行