in reply to Re: Re: Re: DBD::SQLite
in thread Error querying DBD::SQLite

I dont really see why SQLite should implement some arbitrary functionality just because people are used to it in some other databases. Especially as 1) its not in the standard, and 2) other databases do it differently (eg DB2 - 'VALUES(1+1)' gives the expected result there). Getting SQLite to implement it is like .. umm.. praising browsers for inventing their own tags etc.

Also I dont really see the need for it, since you can select an expression from any known table to get that result.

An expression function in DBI, which uses whatever each DBD locally implements, might be useful. But then, why bother, as if you're using DBI/Perl anyway, you can already do expressions.

C.