Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2014-12-21 00:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (99 votes), past polls