Re: each line counter

From: Richard Huxton <dev(at)archonet(dot)com>
To: Zvonimir Radek <zvonimir(dot)radek(at)eko(dot)hr>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: each line counter
Date: 2006-03-17 15:30:11
Message-ID: 441AD603.1040800@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Zvonimir Radek wrote:
> Hi
> I would like to add counter in front of each row with select
> command.

You can sort-of do this by creating a sequence and then dropping it
after the query, but basically this is the sort of thing you do in the
client application usually.

--
Richard Huxton
Archonet Ltd

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Richard Huxton 2006-03-17 15:31:02 Re: pgsql variables from records
Previous Message Richard Huxton 2006-03-17 15:29:11 Re: Encountering NULLS in plpgsql