Re: Are these two creation commands functionally identical?

Поиск
Список
Период
Сортировка
От dterrors@hotmail.com
Тема Re: Are these two creation commands functionally identical?
Дата
Msg-id 1186935113.447428.17430@r34g2000hsd.googlegroups.com
обсуждение исходный текст
Ответ на Re: Are these two creation commands functionally identical?  (Ragnar <gnari@hive.is>)
Список 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 по дате отправления:

Предыдущее
От: "Gilbert Albero"
Дата:
Сообщение: Windows XP installation problem
Следующее
От: Carlos Ortíz
Дата:
Сообщение: Re: SQL question: checking all required items