Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^6: Database processing

by DrAxeman (Scribe)
on Aug 06, 2005 at 13:22 UTC ( [id://481479]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    SQL ERROR: Bad set function before FROM clause.
    
    ...
    Execution ERROR: No command found!.
    
    $VAR1 = undef;
    
  2. or download this
        my $sth = $dbh->prepare("SELECT * FROM results WHERE 1=0");
        $sth->execute;
    ...
          . join(', ', map { "avg($_) \n" } @cols )
          . ' FROM results';
        my $avgsHashRef = $dbh->selectrow_hashref($avgSQL);
    
  3. or download this
    Execution ERROR: Can't use AVG on a string! called from ./runsql3.sql 
    +at 24.
    
    ...
    , avg(ERWWSQLWEBProcessorTotalPCTProcessorTime)
     FROM results"] at ./runsql3.sql line 24.
    $VAR1 = undef;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-03-29 07:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found