From: PFC <lists@boutiquenumerique.com>
To: db@ke5in.com
To: pgsql-sql@postgresql.org
Subject: Re: assign the row count of a query to a variable
Date: Fri, 14 Jan 2005 22:13:57 +0100
Message-ID: <opskl2ljx4th1vuj@musicbox> (raw)
In-Reply-To: <1386.67.87.30.165.1105735384.squirrel@www.ke5in.com>
References: <1386.67.87.30.165.1105735384.squirrel@www.ke5in.com>
var := count(*) from T;
or :
SELECT INTO var count(*) from T;
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: lists@boutiquenumerique.com, db@ke5in.com
Subject: Re: assign the row count of a query to a variable
In-Reply-To: <opskl2ljx4th1vuj@musicbox>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox