From: Richard Huxton <dev@archonet.com>
To: Shavonne Marietta Wijesinghe <shavonne.marietta@studioform.it>
Cc: pgsql-sql@postgresql.org
Subject: Re: PRIMARY KEY
Date: Wed, 07 Mar 2007 11:51:07 +0000
Message-ID: <45EEA72B.1020607@archonet.com> (raw)
In-Reply-To: <003f01c760ac$c8d34980$1102a8c0@dream>
References: <003f01c760ac$c8d34980$1102a8c0@dream>
Shavonne Marietta Wijesinghe wrote:
> Hello
>
> I have created a table
> CREATE TABLE MOD48_00_2007 ( ID text, N_GEN int PRIMARY KEY, FORMSTORE text, COD_NOTAIO text, PA_COGNOME text);
>
> And i insert the rows via a form in ASP. When the form loads i have a functin that goes and gets the value of the field N_GEN adds 1 to it and shows it to the user.
> The problem is when i have 2 users working at the same time.
Check the manuals for "sequences" and "serial type".
--
Richard Huxton
Archonet Ltd
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: dev@archonet.com, shavonne.marietta@studioform.it
Subject: Re: PRIMARY KEY
In-Reply-To: <45EEA72B.1020607@archonet.com>
* 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