外幣機器人Android
2009年5月8日 星期五
Oracle 隨機取資料
Select *
From (
Select * From [tablename]
Order By dbms_random.random
)
Where Rownum <= 1;--看要取表列前幾筆
-----------------
產生亂數
select dbms_random.random from dual
沒有留言:
張貼留言
較新的文章
較舊的文章
首頁
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言