Line Numbering in SELRCT Output

From: Hubert Palme <hubert(dot)palme(at)web(dot)de>
To: pgsql-sql(at)postgresql(dot)org
Subject: Line Numbering in SELRCT Output
Date: 2002-03-09 23:48:38
Message-ID: a6e70l$2o5p$1@jupiter.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Hi,

how can I get line numbers in the output of a select statement, e.g.

No. | Name | ...
-----+------------------+-------
1 | Meyer | ...
2 | Miller | ...
3 | Mueller | ...
4 | Smith | ...

Thanks in advance,
--
Hubert Palme Am Walde 1
42119 Wuppertal
<hubert(dot)palme(at)web(dot)de>

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Paul 2002-03-10 15:33:01 Re: Line Numbering in SELRCT Output
Previous Message Jdou12345 2002-03-09 07:51:32 Retrieving a ' in an SQL statement?