emptyfull has asked for the wisdom of the Perl Monks concerning the following question:
using ActivePerl
v5.10.0 built for MSWin32-x86-multi-thread
Executing following sql produces no error from DBI
it completely ignores division by zero.
create table #t (
v int not null
) insert #t values (1)
insert #t values (10)
insert #t values (12)
insert #t values (0)
select 10/v from #t
v5.10.0 built for MSWin32-x86-multi-thread
Executing following sql produces no error from DBI
it completely ignores division by zero.
create table #t (
v int not null
) insert #t values (1)
insert #t values (10)
insert #t values (12)
insert #t values (0)
select 10/v from #t
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: DBI ignoring devide by zero
by erix (Prior) on Sep 28, 2012 at 18:39 UTC | |
Re: DBI ignoring devide by zero
by runrig (Abbot) on Sep 28, 2012 at 18:48 UTC | |
by emptyfull (Initiate) on Oct 02, 2012 at 13:42 UTC | |
by Corion (Patriarch) on Oct 02, 2012 at 13:44 UTC | |
Re: DBI ignoring devide by zero
by mpeppler (Vicar) on Oct 05, 2012 at 15:15 UTC |
Back to
Seekers of Perl Wisdom