[Zope] SyBaseDA and select count problem

Anthony Baxter Anthony Baxter <anthony@interlink.com.au>
Sat, 08 Jan 2000 16:28:39 +1100


>>> Bill Anderson wrote
> It seems that whenever I try to use any of the following:
> select count(*) from <tablename>
> select count(<columnname>) from <tablename>
> it returns:
> "Error, exceptions.ValueError: Empty column name, "
> 
> Of course, the sql is tested and known to work.

select count(*) as cnt from <tablename>

Anthony
-- 
Anthony Baxter     <anthony@interlink.com.au>   
It's never too late to have a happy childhood.