| От | Shridhar Daithankar |
|---|---|
| Тема | Re: Updates with NULL |
| Дата | |
| Msg-id | 3F662821.26188.3A2EC92F@localhost обсуждение исходный текст |
| Ответ на | Re: Updates with NULL (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | pgsql-general |
On 15 Sep 2003 at 11:17, Tom Lane wrote: > "Shridhar Daithankar" <shridhar_daithankar@persistent.co.in> writes: > > Following seems to be the valid syntax in oracle. > > > Update foo set somefield=NULL where somefield >9; > > AFAIK that's valid syntax in Postgres and the SQL standard, too. I got confused between equality operator and assignment operator. Equalling NULL is wrong, assigning it is not. I should have had more rest after my fever..:-( Bye Shridhar -- Fifth Law of Procrastination: Procrastination avoids boredom; one never has the feeling that there is nothing important to do.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера