| От | Tom Lane |
|---|---|
| Тема | Re: NULL != text ? |
| Дата | |
| Msg-id | 15598.1129852919@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: NULL != text ? (CSN <cool_screen_name90001@yahoo.com>) |
| Список | pgsql-general |
CSN <cool_screen_name90001@yahoo.com> writes:
> BTW, it (the SQL spec I presume) has always seemed
> contradictory to me that you can't do:
> select * from table where field=null;
> but can do:
> update table set field=null;
This only seems contradictory if you fail to make the distinction
between "=" used as a comparison operator and "=" used to mean
assignment.
Personally I prefer programming languages that actually spell the
two concepts differently ... but enough don't that one has to learn
to live with it.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера