null and integer field

Поиск
Список
Период
Сортировка
От Hamid Khoshnevis
Тема null and integer field
Дата
Msg-id 000601bf62e1$4c1d1040$810a0a0a@emarq
обсуждение исходный текст
Ответы Re: [SQL] null and integer field  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-sql
The content of an integer field when unassigned appears to be different from
pushing a null into that field.   Can someone please explain the difference
and show me how to push an 'unassigned' into that integer field.

I am using:
update table foo set integer_field=null where blah blah;

Thanks,

hamid



В списке pgsql-sql по дате отправления:

Предыдущее
От: Marc Tardif
Дата:
Сообщение: Re: [SQL] Foreign Keys, Triggers and such
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [SQL] null and integer field