Re: SQL query

Поиск
Список
Период
Сортировка
От Ravi Krishna
Тема Re: SQL query
Дата
Msg-id trinity-9d27ccf7-5d86-48ba-bfe7-eda427221248-1555612595046@3c-app-mailcom-lxa14
обсуждение исходный текст
Ответ на SQL query  (Vikas Sharma <shavikas@gmail.com>)
Ответы Re: SQL query
Re: SQL query
Список pgsql-general
Not able to produce this with PG 11.1

If col1 is any type other than boolean, the update statement fails in syntax.
If col1 is boolean, then it updated it correctly.  In other words
   update col1 = NULL
    and col2 in (1,2)
is treated same as
   update col1 = NULL
     where col2 in (1,2)

Also I checked it on DB2 which rejected the UPDATE sql as bad syntax, as expected.




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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: ERROR: operator class "gin__int_ops" does not exist for accessmethod "gin"
Следующее
От: "Ravi Krishna"
Дата:
Сообщение: Re: SQL query