Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

My MSSQL query fails the second time.

by kyle (Abbot)
on Apr 30, 2013 at 17:44 UTC ( #1031438=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      # Can this fail without throwing an exception anyways???
      my $rv = $sth->execute();
      $self->throw_exception(
        $sth->errstr || $sth->err || 'Unknown error: execute() returned fa
    +lse, but error flags were not set...'
      ) if !$rv;
    
  2. or download this
    use 5.014;
    use strict;
    ...
    }
    
    done_testing;
    
  3. or download this
    ok 1 - The object isa DBI::db
    ok 2 - The object isa DBI::st
    ...
    ok 7 - $sth->finish
    1..7
    # Looks like you failed 1 test of 7.
    
  4. or download this
    ok 1 - The object isa DBI::db
    ok 2 - The object isa DBI::st
    ...
    ok 6 - defined: '0E0'
    ok 7 - $sth->finish
    1..7
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1031438]
Approved by moritz
help
Chatterbox?
[Discipulus]: sorry, not able to help erix.. ;=(
[erix]: I guess I'll stare it down in the end but I'm already staring for a while... :)
[erix]: btw, I had a typo in there, so reload (if anyone is looking)

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (8)
As of 2018-01-19 08:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How did you see in the new year?










    Results (216 votes). Check out past polls.

    Notices?