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

Home -> Community -> Usenet -> c.d.o.server -> Re: a simple question

Re: a simple question

From: Parvinder Singh <parora_at_questone.com>
Date: Thu, 16 Dec 1999 09:39:56 GMT
Message-ID: <3858B38D.BA29327B@questone.com>


I have clearly mentioned in my query that i want the first record from the set of records (those set of records which the query returns)

Thanks & Regards
~Parvinder

Randy DeWoolfson wrote:

> first ask yourself what is the meaning of
> "the first record"...
>
> if it means only return one record, i dont care which one, then use
> rownum.
> otherwise you may be able to use DISTINCT to reduce the result set,
> or some extra filters in the WHERE clause.
>
> randy
>
> Parvinder Singh wrote:
> >
> > hi all
> >
> > if i execute a querry and if that querry's output is a set of records
> > ..so it will return back all the records but i want the querry to return
> > just the first record from that set of records and not the remaining
> > records ....any idea ?
> >
> > Thanks & Regards
> > Parvinder
Received on Thu Dec 16 1999 - 03:39:56 CST

Original text of this message

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