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

Re^4: SQL::Statement confusing literals and identifiers (now with workaround!)

by ikegami (Pope)
on Mar 11, 2008 at 19:29 UTC ( #673590=note: print w/ replies, xml ) Need Help??

in reply to Re^3: SQL::Statement confusing literals and identifiers (now with workaround!)
in thread SQL::Statement confusing literals and identifiers

That would surely fix the problem in my case, but it's a very incomplete fix. Simply removing the quotes is too minimalistic. That fix would remove some (maybe all) false negatives, but would introduce false positives. Specifically, the following name column pairs become indistinguishable:

  • "".baz and foo."bar.baz"
  • "" and
  • "*" and *

The simplest solution might be to *add* quotes everywhere internally.

That said, I'll use the previously suggested SELECT * rather than applying this incomplete patch.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2016-08-27 17:49 GMT
Find Nodes?
    Voting Booth?
    The best thing I ever won in a lottery was:

    Results (383 votes). Check out past polls.