Skip site navigation (1) Skip section navigation (2)

pygresql & counts

From: Alejandro Fernandez <ale(at)nin(dot)cx>
To: pgsql-novice(at)postgresql(dot)org
Subject: pygresql & counts
Date: 2000-11-17 14:44:44
Message-ID: 00111714465402.08838@braco.gcal.ac.uk (view raw or flat)
Thread:
Lists: pgsql-novice
Hi,

I'm trying to use pygresql to "select count tablename from table;". In MySQL
this would return just the amount. Is there an equivalent, or is there a
pygresql command to get at this number from any query?

Thanks!

Ale

 --
Alejandro Fernandez Bscp 5 Caledonian University
0141 586 3913 - ale(at)nin(dot)cx 

pgsql-novice by date

Next:From: Christian HemmingsenDate: 2000-11-17 18:28:45
Subject: Basic JDBC
Previous:From: Tom LaneDate: 2000-11-17 07:23:57
Subject: Re: Failed regresion test?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group