lundi 29 décembre 2014

How to set a variable from select in PostgreSQL?

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.


Aucun commentaire:

Enregistrer un commentaire