Re: assign the row count of a query to a variable - Mailing list pgsql-sql

From PFC
Subject Re: assign the row count of a query to a variable
Date
Msg-id opskl2ljx4th1vuj@musicbox
Whole thread Raw
In response to assign the row count of a query to a variable  ("Kevin B." <db@ke5in.com>)
List pgsql-sql
       var := count(*) from T;

or :
       SELECT INTO var count(*) from T;


pgsql-sql by date:

Previous
From: "Kevin B."
Date:
Subject: assign the row count of a query to a variable
Next
From: Michael Fuhr
Date:
Subject: Re: assign the row count of a query to a variable