| От | Rich Shepard |
|---|---|
| Тема | Re: insert into: NULL in date column |
| Дата | |
| Msg-id | alpine.LNX.2.20.1901120541250.10285@salmo.appl-ecosys.com обсуждение исходный текст |
| Ответ на | Re: insert into: NULL in date column (Ricardo Martin Gomez <rimartingomez@hotmail.com>) |
| Ответы |
Re: insert into: NULL in date column
|
| Список | pgsql-general |
On Sat, 12 Jan 2019, Ricardo Martin Gomez wrote: > Hi, one question. > Do you put explicit "NULL" in the column value? > Other option is. > You have to delete the column "next_contact" in your INSERT clause. > So, if the column has a default value, this value Will be inserted. Else > Null value will be inserted. Ricardo, I thought of using an explicit null and David confirmed that to be the solution. Also, he answered my question that having a default and check constraint are not needed. Thanks, Rich
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера