我正在尝试检查oracle(10g)查询中的列中的值是否为数字以便进行比较.就像是:
select case when ( is_number(myTable.id) and (myTable.id >0) )
then 'Is a number greater than 0'
else 'it is not a number'
end as valuetype
from table myTable
Run Code Online (Sandbox Code Playgroud)
关于如何检查的任何想法?