Re: constrains questios ..

From: Johannes Lochmann <johannes(dot)lochmann(at)chello(dot)at>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: constrains questios ..
Date: 2003-02-11 16:48:24
Message-ID: 200302111748.24760.johannes.lochmann@chello.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

On Tuesday 11 February 2003 16:35, Rafal Kedziorski wrote:
Hi,

> 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

--
Disclaimer - These opiini^H^H damn! ^H^H ^Q ^[ .. :w :q :wq :wq! ^d X^?
exit X Q ^C ^c ^? :quitbye CtrlAltDel ~~q :~q logout save/quit :!QUIT
^[zz ^[ZZZZZZ ^H man vi ^@ ^L ^[c ^# ^E ^X ^I ^T ? help helpquit ^D ^d
man help ^C exit ?Quit ?q CtrlShftDel "Hey, what does this button d..."

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Matthew Nuzum 2003-02-11 17:41:46 Re: constrains questios ..
Previous Message Peter Childs 2003-02-11 16:31:21 Re: PL/Pgsql trigger function issue...