Re: returns numbers of record

From: "Enrico Pirozzi" <sscotty71(at)gmail(dot)com>
To: justin <justin(at)emproshunts(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: returns numbers of record
Date: 2008-12-03 08:11:24
Message-ID: 5d038c780812030011k79a3b90dj2ea8d47875b54da7@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

No I'm looking something else, as I wrote above :)

Regards
Enrico

2008/12/3 justin <justin(at)emproshunts(dot)com>:
> Select Count(*) from (query) is what i believe you are looking for see
> http://www.postgresql.org/docs/8.3/interactive/tutorial-agg.html
>
>
>
> Enrico Pirozzi wrote:
>>
>> Hi all,
>> does it exists a way to know how many records a query returns?
>>
>> I thought sometime like
>>
>> DECLARE curs1 CURSOR FOR select * from table ;
>>
>> I thought if I can write MOVE LAST Is there any way to return
>> the number of row for select * from table without execute a count(*) ?
>>
>> Thanks :)
>>
>> Enrico
>>
>>
>
>

--
That's one small step for man; one giant leap for mankind

www.enricopirozzi.info
info(at)enricopirozzi(dot)info
Skype sscotty71

In response to

Browse pgsql-general by date

  From Date Subject
Next Message IPS 2008-12-03 10:03:00 concurrent users
Previous Message elekis 2008-12-03 07:20:19 Fwd: Fwd: Cannot open include file: 'nodes/nodes.h'