pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Matt <matthew.berardi@weilpublishing.com>
To: pgsql-sql@postgresql.org
Subject: multiple primary keys and reference
Date: Fri, 07 Jun 2002 16:00:01 -0400
Message-ID: <3D0110C1.5020908@weilpublishing.com> (raw)

I have a table, OrderDetail, with two primary keys OrderID and ProductID

I want another table, Claims, to reference the primary keys of 
OrderDetail so that the pair has to match between table not just one 
attrib. I can't figure out how to do this from the docs I have. can 
anyone help? thankyou in advance

matthew berardi
weil publishing




view thread (3+ messages)  latest in thread

Message-ID: <3D0110C1.5020908@weilpublishing.com>
Permalink:  ../3D0110C1.5020908@weilpublishing.com/
Also on:    postgresql.org/message-id/3D0110C1.5020908@weilpublishing.com

 · 

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: matthew.berardi@weilpublishing.com
  Subject: Re: multiple primary keys and reference
  In-Reply-To: <3D0110C1.5020908@weilpublishing.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