Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Where the advice to use DBI bind parameters can go wrong (long)

by mpeppler (Vicar)
on Jun 14, 2002 at 22:58 UTC ( #174741=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $sth = $dbh->prepare("select * from market where commodity like ?")
    +;
    
    ...
    while(my $d = $sth->fetch) {
        ;
    }
    
  2. or download this
    Table: market scan count 1, logical reads: (regular=111 apf=0 total=11
    +1), physical reads: (regular=0 apf=0 total=0), apf IOs used=0
    
  3. or download this
    Table: market scan count 1, logical reads: (regular=51889 apf=0 total=
    +51889), physical reads: (regular=0 apf=0 total=0), apf IOs used=0
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (13)
As of 2015-07-31 10:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (276 votes), past polls