Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^2: fetchall_arrayref hangs with placeholders query with no results

by afoken (Chancellor)
on Apr 28, 2021 at 16:10 UTC ( #11131801=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    select ? from ... where ..
    
  2. or download this
    #!/usr/bin/perl
    
    ...
    my $sth=$dbh->prepare('select ? as answer');
    $sth->execute(42);
    $sth->dump_results();
    
  3. or download this
    '42'
    1 rows
    
  4. or download this
    #!/usr/bin/perl
    
    ...
    $sth->bind_param(1,42,SQL_INTEGER);
    $sth->execute();
    $sth->dump_results();
    
  5. or download this
    42
    1 rows
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11131801]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2023-12-05 18:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?











    Results (27 votes). Check out past polls.

    Notices?