Re: SELECT COUNT(*)... returns 0 ROWS

Поиск
Список
Период
Сортировка
От Jeff
Тема Re: SELECT COUNT(*)... returns 0 ROWS
Дата
Msg-id 20031031144737.0faca65f.threshar@torgo.978.org
обсуждение исходный текст
Ответ на SELECT COUNT(*)... returns 0 ROWS  ("PostgreSQL" <postgres@coopelesca.co.cr>)
Ответы Re: SELECT COUNT(*)... returns 0 ROWS  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-admin
On Fri, 31 Oct 2003 13:33:09 -0600
"PostgreSQL" <postgres@coopelesca.co.cr> wrote:

> I have instaled Postgres 7.3.4 on RH 9,
> if I excecute:
>
> select count(*) from cj_tranh;
>  count
> -------
>      0
> (1 row)
>
> Why the result us CERO? the table have 1.400.000 rows!
> What is wrong? Anybody help please.
>

1. did you remember to load data?
2. did someone accidentally delete the data?
3. are you connected to the correct db (I've panic'd before but realized
I was on dev, not production!)?
4. sure that is the right table?

--
Jeff Trout <jeff@jefftrout.com>
http://www.jefftrout.com/
http://www.stuarthamm.net/

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

Предыдущее
От: "Epps, Aaron M."
Дата:
Сообщение: Column References
Следующее
От: Tom Lane
Дата:
Сообщение: Re: dumping tables from badly damaged db