Re: count record in plpgsql

From: Tomasz Myrta <jasiek(at)klaster(dot)net>
To: Nurdin <dja(dot)mnurdin(at)cma-cgm(dot)com>
Cc: pgsql-sql <pgsql-sql(at)postgresql(dot)org>
Subject: Re: count record in plpgsql
Date: 2004-11-29 09:30:33
Message-ID: 41AAEC39.3060600@klaster.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql


> how can i know the count of record in plpgsql.example if i'm query
> with query komponent from delphi i will know the record count of
> record.but how with plpgsql.
>
> any ideas?

Is it what you need:

GET DIAGNOSTICS n = ROW_COUNT;

after executing query ?

Regards,
Tomasz Myrta

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Richard Huxton 2004-11-29 09:42:58 Re: count record in plpgsql
Previous Message Nurdin 2004-11-29 02:31:35 count record in plpgsql