pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Matthew Nuzum <cobalt@bearfruit.org>
To: 'Johannes Lochmann' <johannes.lochmann@chello.at>
To: pgsql-sql@postgresql.org
Subject: Re: constrains questios ..
Date: Tue, 11 Feb 2003 12:41:46 -0500
Message-ID: <004e01c2d1f4$d9546f50$6900a8c0@mattspc> (raw)
In-Reply-To: <200302111748.24760.johannes.lochmann@chello.at>

> > is better to create constrains while creating table or after the
table
> > is created? I'm working on sql script which should create about 40
> tables.
> 
> I usually first create the tables, then the constraints. Rational: You
can
> create the tables in any sequence you want to.
> 
> HTH
> 
> Johannes Lochmann
> 

Can you please demonstrate the syntax you would use to create the
constraints?  I'm not real clear on this and my attempts haven't
produced what I wanted.

--
Matthew Nuzum
www.bearfruit.org
cobalt@bearfruit.org




view thread (3+ messages)  latest in thread

Message-ID: <004e01c2d1f4$d9546f50$6900a8c0@mattspc>
Permalink:  ../004e01c2d1f4$d9546f50$6900a8c0@mattspc/
Also on:    postgresql.org/message-id/004e01c2d1f4$d9546f50$6900a8c0@mattspc

 · 

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: cobalt@bearfruit.org, johannes.lochmann@chello.at
  Subject: Re: constrains questios ..
  In-Reply-To: <004e01c2d1f4$d9546f50$6900a8c0@mattspc>

* 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