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

Re: DBI:CSV SQL parsing problem

by erroneousBollock (Curate)
on Nov 05, 2007 at 12:23 UTC ( #649002=note: print w/ replies, xml ) Need Help??


in reply to DBI:CSV SQL parsing problem

Any idea what is going wrong?
I'd say it's apparent that the SQL expression parser employed by DBD::CSV is unable to deal with such a complicated expression (either at all, or with the amount of type information at its disposal). Specifically, the parser expects a variable or a numeric literal as the argument to an aggregate function.

Assuming that's not the case, have you tried more parentheses ? some form of value coercion ?

-David


Comment on Re: DBI:CSV SQL parsing problem
Re^2: DBI:CSV SQL parsing problem
by jZed (Prior) on Nov 05, 2007 at 16:40 UTC
        > Assuming that's not the case, have you tried more parentheses ? 
    
    Or perhaps sprinkling some chicken blood would help :-). The expected behavior is documented in this case so reading the docs is probably quicker (though perhaps not as much fun, depending on your definition of fun) than experimentation.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2014-07-31 01:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (244 votes), past polls