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

Re: PerlDBI and quoting

by haukex (Archbishop)
on Feb 05, 2021 at 12:21 UTC ( #11127925=note: print w/replies, xml ) Need Help??

in reply to PerlDBI and quoting

However, when I look at the data content in SQL Developer, or when I then perform a 'select' on the table to extract the data later, it has enclosing quotes i.e. I don't get " CONTENT " - I get " 'CONTENT' ", which then interferes with string matching downstream. What have I missed?

You don't need both ->quote and placeholders (?, ?). Placeholders are The Right Way, so just use only those.

Replies are listed 'Best First'.
Re^2: PerlDBI and quoting
by jerryhone (Sexton) on Feb 05, 2021 at 14:20 UTC
    Thanks haukex - that works nicely! I was clearly being a a bit overprotective!
      I was clearly being a a bit overprotective!

      Better than not knowing Little Bobby Tables at all! :-)


        at last online meeting we were discussing using emojis inside passwords.

        Since then I'm trying to register a properly named unicode character for little Bobby ... ;D

        Cheers Rolf
        (addicted to the Perl Programming Language :)
        Wikisyntax for the Monastery

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (3)
As of 2023-09-28 21:03 GMT
Find Nodes?
    Voting Booth?

    No recent polls found