Re: Are these two creation commands functionally identical? - Mailing list pgsql-general

From dterrors@hotmail.com
Subject Re: Are these two creation commands functionally identical?
Date
Msg-id 1186935113.447428.17430@r34g2000hsd.googlegroups.com
Whole thread Raw
In response to Re: Are these two creation commands functionally identical?  (Ragnar <gnari@hive.is>)
List pgsql-general
On Aug 11, 5:21 am, gn...@hive.is (Ragnar) wrote:
> no these 2 are not fuctionally identical, because the second one
> does not have a NOT NULL constraint on the foreign keys,
> allowing you to insert:
> INSERT INTO sales (saleid,userid,parent_saleid)
>     VALUES (100,null,100);
>

OK thank you.  Besides the not null, are they otherwise identical?
The first statement is from a graphical db model tool I want to use,
the second is from my own handwritten sql. I want to see if it's
essentially the same.  thanks.


pgsql-general by date:

Previous
From: "Gilbert Albero"
Date:
Subject: Windows XP installation problem
Next
From: Carlos Ortíz
Date:
Subject: Re: SQL question: checking all required items