From: Kovacs Baldvin <kb136@hszk.bme.hu>
To: Haller Christoph <ch@rodos.fzk.de>
Cc: pgsql-sql@postgresql.org
Subject: Re: Number the lines
Date: Mon, 17 Sep 2001 14:54:51 +0200 (MEST)
Message-ID: <Pine.GSO.4.33.0109171446130.8732-100000@ural2> (raw)
In-Reply-To: <200109171215.OAA21602@rodos>
Hi!
I am in the university now, not be able to test what I
say, so please forgive me if it is buggy or wrong.
So does it helps you?:
CREATE SEQUENCE ordering;
SELECT NEXTVAL('ordering') as rownumber, *
INTO TABLE anewname FROM whatyouwant;
Probably CREATE SEQUENCE 'ordering';, do try it...
Bye,
Baldvin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: kb136@hszk.bme.hu, ch@rodos.fzk.de
Subject: Re: Number the lines
In-Reply-To: <Pine.GSO.4.33.0109171446130.8732-100000@ural2>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox