Perl: the Markov chain saw | |
PerlMonks |
Re: DBI ignoring devide by zeroby erix (Prior) |
on Sep 28, 2012 at 18:39 UTC ( [id://996270]=note: print w/replies, xml ) | Need Help?? |
It's the DBMS (the database backend) that calculates (or effects) results of SQL statements, not DBI. What DBMS are you using, and what does its errorlog say when you do something that it does not allow? (The sql you use there is not valid (no semi-colons terminating the statements, invalid insert-syntax), so perhaps it's simply not executed; do you catch errors / follow the database log? ) ( update: FWIW, postgres (9.3devel) gives the result you expect. Using commandline client psql:
)
In Section
Seekers of Perl Wisdom
|
|