Re: Null bind variable in where clause

Поиск
Список
Период
Сортировка
От Andrew Lazarus
Тема Re: Null bind variable in where clause
Дата
Msg-id 1167646704.20070528201559@attglobal.net
обсуждение исходный текст
Ответ на Null bind variable in where clause  (Chris Stuhr <cstuhr@ephibian.com>)
Список pgsql-jdbc
Hello Chris,

Another approach is ... WHERE (b=?) IS TRUE or
... WHERE (b=?) IS NOT FALSE
depending which behavior you want when b IS NULL.



Monday, April 30, 2007, 6:34:56 PM, you wrote:

> It looks like you can not use a bind variable when trying to match null
> in a where clause.  Is there any way to get the desired effect without
> having to remove the bind variable and rewrite the query to "WHERE b IS
> null"?




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

Предыдущее
От: Guy Rouillier
Дата:
Сообщение: Re: which jdk i should opt for pgsql8.2 to implement jdbc interface
Следующее
От: "Kalle Hallivuori"
Дата:
Сообщение: FYI: porting Copy API to 8.x