Re: Number of Records in a Table

Поиск
Список
Период
Сортировка
От David Olbersen
Тема Re: Number of Records in a Table
Дата
Msg-id Pine.LNX.4.31.0103121812030.27230-100000@bubbles.electricutopia.net
обсуждение исходный текст
Ответ на Number of Records in a Table  (Charles Welch <caddbase@rapfire.net>)
Список pgsql-novice
On Fri, 9 Mar 2001, Charles Welch wrote:

->How can you determine how many records exist in a table with out doing a
->SELECT statement and then counting the records that are read?

I assume you mean counting by hand...

SELECT COUNT( -primarykey- ) FROM table;

obviously put your pirmary key and table name where they belong.

-- Dave


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

Предыдущее
От: "mikhail malamud"
Дата:
Сообщение: RE: add primary key
Следующее
От: "Rob Arnold"
Дата:
Сообщение: Re: array column problem