Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

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 the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2016-10-25 00:52 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (313 votes). Check out past polls.