Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
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 scrutinizing the Monastery: (9)
As of 2016-06-28 22:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (364 votes). Check out past polls.