Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: prepare statement within DBI

by gmax (Abbot)
on Aug 25, 2004 at 15:47 UTC ( [id://385711]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $query = qq{
    select "t1" as t, count(*) as c from table_one
    ...
    #    { t => 't1', c => 4 },
    #    { t => 't2', c => 2 } 
    # ];
    
  2. or download this
    my $query = qq{
    SELECT 
    ...
    
    my @table_status = $dbh->selectrow_array($query);
    # @table_status = ( 4, 2 );
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (2)
As of 2024-04-19 20:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found