Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

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 making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2017-09-24 21:57 GMT
Find Nodes?
    Voting Booth?
    During the recent solar eclipse, I:

    Results (275 votes). Check out past polls.