Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^3: Perl or SQL ?

by mpeppler (Vicar)
on Dec 22, 2005 at 08:38 UTC ( [id://518498]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $sth = $dbh->prepare("select a, b, c from foo");
    $sth->execute;
    ...
        # $row->[1] is column 'b', 
        # etc...
    }
    
  2. or download this
    while(($one, $two, $three) = $sth->fetchrow_array) {
        # $one, $two and $three are columns a, b and c
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (2)
As of 2024-04-19 19:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found