Generally you would do that with a count function instead of relying
on something else.
"select * from layer where visible = 1"
so I guess "SELECT COUNT(*) FROM layer WHERE visible=1" would give you
the answer.
- Adam
--
Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-odbc