Re: primary keys

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: primary keys
Дата
Msg-id 20021107143530.GB6881@wolff.to
обсуждение исходный текст
Ответ на primary keys  (Huub <v.niekerk@freeler.nl>)
Список pgsql-sql
On Wed, Nov 06, 2002 at 15:18:38 +0100, Huub <v.niekerk@freeler.nl> wrote:
> Hi,
> 
> I want to create a table which has 2 columns, and both columns have to 
> be primary key (or: together they are the primary key). How can I do 
> this using SQL? Using pgAdminII for Postgres7.2.2 on RH8.

You can use a PRIMARY KEY table constraint. You can the SQL command
documentation for the CREATE TABLE command.


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

Предыдущее
От: Christoph Haller
Дата:
Сообщение: Re: how to get the source table & field name of a view field
Следующее
От: "Sangeetha Rao"
Дата:
Сообщение: Re: primary keys