Re: [HACKERS] select count(*) from : 0 rows or 1 rows ?

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [HACKERS] select count(*) from : 0 rows or 1 rows ?
Дата
Msg-id 199905311611.MAA21557@candle.pha.pa.us
обсуждение исходный текст
Ответ на select count(*) from : 0 rows or 1 rows ?  (Oleg Bartunov <oleg@sai.msu.su>)
Список pgsql-hackers
> discovery=> select count(*) from publications;
> count
> -----
>     0
> (1 row)
> 
>   Does 1 rows is a correct result ?
> 
>     Oleg

One row is returned, and that row is zero.  It is correct.

--  Bruce Momjian                        |  http://www.op.net/~candle maillist@candle.pha.pa.us            |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


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

Предыдущее
От: Mark Volpe
Дата:
Сообщение: New IP address datatype
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] New IP address datatype