in reply to DBI INTERVAL Error
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.)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: DBI INTERVAL Error
by Anonymous Monk on Mar 20, 2016 at 16:51 UTC | |
by poj (Abbot) on Mar 20, 2016 at 17:28 UTC | |
by Anonymous Monk on Mar 20, 2016 at 19:03 UTC | |
by poj (Abbot) on Mar 20, 2016 at 20:35 UTC |