Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: Retrieving a set of randomly chosen records (Oracle 9i)

Re: Retrieving a set of randomly chosen records (Oracle 9i)

From: <casey.kirkpatrick_at_gmail.com>
Date: 22 Feb 2005 15:33:37 -0800
Message-ID: <1109115217.461709.97690@l41g2000cwc.googlegroups.com>


select * from table where DBMS_UTILITY.get_hash_value(ROWID || to_char(sysdate,'HH:MI:SS'),1,100) = 1

The "100" can be tweaked to give more or fewer rows. Received on Tue Feb 22 2005 - 17:33:37 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US