Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer

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 ?


Replies are listed 'Best First'.
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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://649002]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2017-12-17 02:45 GMT
Find Nodes?
    Voting Booth?
    What programming language do you hate the most?

    Results (462 votes). Check out past polls.