Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: dbi style questions (code, discussion)

by Anonymous Monk
on Dec 29, 2001 at 20:37 UTC ( [id://135120]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $sth = $dbh->prepare(q{
       SELECT x, y, z FROM table1, table2
       WHERE x = ?, y = ?
       ORDER BY z
    });
    
  2. or download this
    $dbh->do('delete from temp where x = ?', undef, $x);
    
  3. or download this
    $sth->execute;
    $sth->bind_column(\$res);
    $sth->fetch;
    
  4. or download this
    $sth->execute;
    unless (@cols = $sth->fetchrow_array) {
       # error
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://135120]
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: (5)
As of 2024-04-25 14:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found