laziness, impatience, and hubris | |
PerlMonks |
Re: DBI INTERVAL Errorby erix (Prior) |
on Mar 20, 2016 at 16:40 UTC ( [id://1158360]=note: print w/replies, xml ) | Need Help?? |
DBI doesn't 'implement' SQL --- DBMS systems implement SQL. DBI just passes the SQL to the backend. That backend could be one of a whole range of DBMS systems (Oracle, Oracle MySql, Sybase, DB2, PostgreSQL, etc.). INTERVAL is in the SQL standard but that doesn't mean automatically that all systems implement it. Which backend (or backends) are you using? UPDATE: Oh wait, the error says: 'DBD::CSV'. So, reading files, which means no INTERVAL I don't think. It seems DBD::CSV implements this SQL ("a small but useful subset"): SQL::Statement (and no, I don't see INTERVAL in there.)
In Section
Seekers of Perl Wisdom
|
|