Re: SQL query runs fine on one platform (FreeBSD), but hangs on another (Windows)

Поиск
Список
Период
Сортировка
От David Noel
Тема Re: SQL query runs fine on one platform (FreeBSD), but hangs on another (Windows)
Дата
Msg-id CAHAXwYDxz2mGrAkpRtuR7SoNthB102Zecpp0vBv=qLLm8vaWoQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: SQL query runs fine on one platform (FreeBSD), but hangs on another (Windows)  (Achilleas Mantzios <achill@matrix.gatewaynet.com>)
Ответы Re: SQL query runs fine on one platform (FreeBSD), but hangs on another (Windows)  (Achilleas Mantzios <achill@matrix.gatewaynet.com>)
Список pgsql-general
> 'health'<>'' (if that is what you have) means a boolean expression that
> compares the
> literal 'health' with the empty literal '' which is of course always false.

Ah. Gotcha. Thanks. I didn't know you could use a single double
quotation mark in a query -- I thought like in most languages that you
needed two of them for it to be valid.

> Maybe *health* is a column name somewhere ? In this case it should be
> written :
> "health" <> '' (i.e. comparison between the value of column "health" and the
> literal value '')

'health' is one of the accepted values of the page table's
"Classification" column.

Many thanks,

-David


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

Предыдущее
От: Achilleas Mantzios
Дата:
Сообщение: Re: SQL query runs fine on one platform (FreeBSD), but hangs on another (Windows)
Следующее
От: Achilleas Mantzios
Дата:
Сообщение: Re: SQL query runs fine on one platform (FreeBSD), but hangs on another (Windows)