oracle判斷某一字段不是純數字

背景: 表中某一字段中應該爲純數字,偶然發現該字段包含其餘值,故,須要對不是純數字的數據項進行過濾sql 腳本: select distinct sub_account_item from pay_transaction_detail where trim(translate(sub_account_item, '0123456789', ' ')) is not null 解釋: tran
相關文章
相關標籤/搜索