Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Is this SQL Possible??
Hi Ben,
I haven't seen anyone mention this, so I'll throw it in to the mix. One = of the OLAP options that's been around since 8i is SAMPLE, which does = almost exactly what you want. The only gotcha is you can specify = percentage of table, or blocks, to randomly grab ... not number of rows. = You could play around to see if a ridiculously low percentage always = returns one row (the lower bound is .000001%).
Ciao
Fuzzy
:-)
> -----Original Message-----
> From: oracle-l-bounce_at_freelists.org
> [mailto:oracle-l-bounce_at_freelists.org]On Behalf Of Ben Sauer
> Sent: Tuesday, 21 December 2004 06:11
> To: Oracle-l_at_freelists.org
> Subject: Is this SQL Possible??
>=20 >=20
>=20> This message may contain confidential information, and is
> --------------------------------------------------------------
> ----------------
>=20 >=20
-- http://www.freelists.org/webpage/oracle-lReceived on Mon Dec 20 2004 - 16:59:53 CST
![]() |
![]() |