Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 browsing the Monastery: (9)
As of 2014-09-22 06:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (182 votes), past polls