Skip site navigation (1) Skip section navigation (2)

SQL (?) question

From: "Joost Kraaijeveld" <J(dot)Kraaijeveld(at)Askesis(dot)nl>
To: <pgsql-general(at)postgresql(dot)org>
Subject: SQL (?) question
Date: 2004-07-20 20:31:54
Message-ID: A3D1526C98B7C1409A687E0943EAC41015E6AD@obelix.askesis.nl (view raw or flat)
Thread:
Lists: pgsql-general
Hi all,

Is there an easy way (e.g. short SQL script) to add a column to a table and fill it with integers (from 1- n) just like using an sequence? (I need to retofit a system id that is handled in the application, not in the database).

Groeten,

Joost Kraaijeveld
Askesis B.V.
Molukkenstraat 14
6524NB Nijmegen
tel: 024-3888063 / 06-51855277
fax: 024-3608416
e-mail: J(dot)Kraaijeveld(at)Askesis(dot)nl
web: www.askesis.nl 

Responses

pgsql-general by date

Next:From: Mike MascariDate: 2004-07-20 21:24:28
Subject: Re: SQL (?) question
Previous:From: Peter WangDate: 2004-07-20 18:01:25
Subject: fail to compare between bytea output in

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group