pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Huub <v.niekerk@freeler.nl>
To: pgsql-sql@postgresql.org
Subject: primary keys
Date: Wed, 06 Nov 2002 15:18:38 +0100
Message-ID: <aqb8b8$1k8v$1@news.hub.org> (raw)

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.

Thanks

Huub




view thread (10+ messages)  latest in thread

Message-ID: <aqb8b8$1k8v$1@news.hub.org>
Permalink:  ../aqb8b8$1k8v$1@news.hub.org/
Also on:    postgresql.org/message-id/aqb8b8$1k8v$1@news.hub.org

 · 

reply

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: v.niekerk@freeler.nl
  Subject: Re: primary keys
  In-Reply-To: <aqb8b8$1k8v$1@news.hub.org>

* 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