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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Random selection of data throug SQL querry

Re: Random selection of data throug SQL querry

From: Shakeel Qureshi <msklq_at_yahoo.com>
Date: Tue, 19 Dec 2000 09:54:59 -0800 (PST)
Message-Id: <10715.124940@fatcity.com>


Hi Praful!

Thanks for your feed. This works great.

Best regards,

Shakeel Qureshi
squreshi_at_barpoint.com
--- Praful Thakkar <thakkar_praful_at_yahoo.com> wrote:
> Try this ...
>
> select field_list from tablename sample(1);
>
> This will give you a random sample of about 1% of
> total recs in
> your table.
> (It's Oracle 8.1.6 - I'm not sure if it would work
> for earlier
> versions.)
>
> HTH.
>
> - Praful
>
> --- Shakeel Qureshi <msklq_at_yahoo.com> wrote:
> > Hi all!
> >
> > I immediate need your help.
> >
> > How could I random select few lines from a large
> > table through an sql select statement.
> >
> > Appreciate quick response.
> >
> > Shakeel Qureshi
> > squreshi_at_barpoint.com
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! Shopping - Thousands of Stores. Millions of
> Products.
> > http://shopping.yahoo.com/
> > --
> > Please see the official ORACLE-L FAQ:
> http://www.orafaq.com
> > --
> > Author: Shakeel Qureshi
> > INET: msklq_at_yahoo.com
> >
> > Fat City Network Services -- (858) 538-5051
> FAX: (858)
> > 538-5051
> > San Diego, California -- Public Internet
> access /
> > Mailing Lists
> >

>



> > To REMOVE yourself from this mailing list, send an
> E-Mail
> > message
> > to: ListGuru_at_fatcity.com (note EXACT spelling of
> 'ListGuru')
> > and in
> > the message BODY, include a line containing: UNSUB
> ORACLE-L
> > (or the name of mailing list you want to be
> removed from).
> > You may
> > also send the HELP command for other information
> (like
> subscribing).
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Shopping - Thousands of Stores. Millions of
> Products.
> http://shopping.yahoo.com/
> --
> Please see the official ORACLE-L FAQ:
> http://www.orafaq.com
> --
> Author: Praful Thakkar
> INET: thakkar_praful_at_yahoo.com
>
> Fat City Network Services -- (858) 538-5051 FAX:
> (858) 538-5051
> San Diego, California -- Public Internet
> access / Mailing Lists

>

> To REMOVE yourself from this mailing list, send an
> E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of
> 'ListGuru') and in
> the message BODY, include a line containing: UNSUB
> ORACLE-L
> (or the name of mailing list you want to be removed
> from). You may
> also send the HELP command for other information
> (like subscribing).


Do You Yahoo!? Received on Tue Dec 19 2000 - 11:54:59 CST

Original text of this message

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