Re: question about auto increment like

From: "pat pat" <pknoob(at)noos(dot)fr>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: question about auto increment like
Date: 2003-04-04 01:38:30
Message-ID: 20030403233829.2E4DA474E42@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

[------ En réponse à Josh Berkus <josh(at)agliodbs(dot)com>: ------]

>>Don,

>>See SERIAL data type.
>>
>>> but I also want it to automatically adjust all
>>> other entries in case one of them is deleted if u see
>>what I mean.
>>
>>No, I don't. Can you be more specific?

say u have 3 entries, the first entry (let's call it A) value is "1" the second(let's call it B) is "2" and the third(let's call it C) is "3".
If I delete B, I would like C value to become "2" ie to take B value.
hope u see what I'm sayin.

thanx in advance

Browse pgsql-novice by date

  From Date Subject
Next Message pat pat 2003-04-04 02:46:43 Re: question about auto increment like
Previous Message Mel Jamero 2003-04-04 01:04:08 Re: ERROR: More than one tuple returned by a subselect used as an expression.