On Tue, May 15, 2007 at 07:40:25AM -0400, [EMAIL PROTECTED] wrote:
> Suppose if i will fire a query "select Name from tablename where age=30".
> it will give output "shyam" but i also want record no. other then oid, in
> this case it is 3.
> 
> is it possible?
> if yes then how?
> plz. help me.

This depends.  Does the record have a serialno field?  If not, you
can do it with a temporary sequence.  But you should be aware that
this "serial number" as you call it changes from result to result in
that case.

A

-- 
Andrew Sullivan  | [EMAIL PROTECTED]
The whole tendency of modern prose is away from concreteness.
                --George Orwell

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
       choose an index scan if your joining column's datatypes do not
       match

Reply via email to