Re: PRIMARY KEY

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: PRIMARY KEY
Дата
Msg-id 45EEA72B.1020607@archonet.com
обсуждение исходный текст
Ответ на PRIMARY KEY  ("Shavonne Marietta Wijesinghe" <shavonne.marietta@studioform.it>)
Список pgsql-sql
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
fieldN_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


В списке pgsql-sql по дате отправления:

Предыдущее
От: "Shavonne Marietta Wijesinghe"
Дата:
Сообщение: PRIMARY KEY
Следующее
От: "M.P.Dankoor"
Дата:
Сообщение: Re: PRIMARY KEY