oracle从0到9的随机数

select round(dbms_random.value()*10) random_value from dual

原文地址:https://www.cnblogs.com/YuanFan123/p/6697705.html