Re: data integrity and inserts

Поиск
Список
Период
Сортировка
От gnari
Тема Re: data integrity and inserts
Дата
Msg-id 000701c4d7d2$a2df3e60$0100000a@wp2000
обсуждение исходный текст
Ответ на data integrity and inserts  (Scott Frankel <leknarf@pacbell.net>)
Список pgsql-general
From: "Scott Frankel" <leknarf@pacbell.net>


>
> I want to ensure data integrity when inserting into a table, preventing
> multiple
> entries of identical rows of data.
>
> sample table:
>
> CREATE TABLE names (the_id SERIAL PRIMARY KEY, the_name text);


sounds like a job for a UNIQUE constraint

gnari




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

Предыдущее
От: Scott Frankel
Дата:
Сообщение: data integrity and inserts
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: data integrity and inserts