sqlite select max() on integer field returns quoted value

Tertius tertiusc at netscape.net
Wed Jun 18 17:33:02 EDT 2003


I mean pysqlite.

Tertius wrote:
> Hi,
> 
> I do a "select max(id) from table"
> id is a integer primary key not null and fetchone() returns tuple with 
> quoted value ('223',)
> should it not rather be (223,) ?
> 
> Many thanks
> Tertius
> 





More information about the Python-list mailing list