Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

RFC: Placeholder creation for SQL statements

by LanX (Saint)
on Mar 08, 2018 at 23:33 UTC ( [id://1210536]=perlmeditation: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #prepare
    my $sth = $dbh->prepare('SELECT * FROM people WHERE lastname = ? AND f
    +irstname = ?');
    
    #execute with list of bindvars
    $sth->execute( $lastname, $firstname );
    
  2. or download this
    use strict;
    use warnings;
    ...
    
       return \@parts;
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlmeditation [id://1210536]
Approved by marto
Front-paged by marto
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2024-04-23 09:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found