Via psql I'm trying to do something like \set cr_count = (select count(*) from cr_table); but no luck. Spent a hour googling around, but neither select into, nor := helped me.
psql
\set cr_count = (select count(*) from cr_table);
select into
:=
Aucun commentaire:
Enregistrer un commentaire