Re: constrains questios .. - Mailing list pgsql-sql

From Matthew Nuzum
Subject Re: constrains questios ..
Date
Msg-id 004e01c2d1f4$d9546f50$6900a8c0@mattspc
Whole thread Raw
In response to Re: constrains questios ..  (Johannes Lochmann <johannes.lochmann@chello.at>)
Responses Re: constrains questios ..  (Johannes Lochmann <johannes.lochmann@chello.at>)
List pgsql-sql
> > 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



pgsql-sql by date:

Previous
From: Johannes Lochmann
Date:
Subject: Re: constrains questios ..
Next
From: Johannes Lochmann
Date:
Subject: Re: constrains questios ..