Re: how many records

From: Oliver Elphick <olly(at)lfix(dot)co(dot)uk>
To: Bryan Irvine <bryan(dot)irvine(at)kingcountyjournal(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: how many records
Date: 2003-09-10 17:35:28
Message-ID: 1063215328.21803.127.camel@linda.lfix.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

On Wed, 2003-09-10 at 16:24, Bryan Irvine wrote:
> Is there an easy way to count how many records there are?

SELECT COUNT(*) FROM mytable;

--
Oliver Elphick Oliver(dot)Elphick(at)lfix(dot)co(dot)uk
Isle of Wight, UK http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C
========================================
"Draw near to God and he will draw near to you.
Cleanse your hands, you sinners; and purify your
hearts, you double minded." James 4:8

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message M. Bastin 2003-09-10 17:37:14 Re: RÈp. : How to opimize the insertion of
Previous Message Oliver Elphick 2003-09-10 17:34:57 Re: phone number list