Beefy Boxes and Bandwidth Generously Provided by pair Networks Bob
Perl: the Markov chain saw
 
PerlMonks  

Re^2: Encoding issue from DBI to string

by space_monk (Chaplain)
on Jan 03, 2013 at 17:31 UTC ( #1011494=note: print w/ replies, xml ) Need Help??


in reply to Re: Encoding issue from DBI to string
in thread Encoding issue from DBI to string

To expand on what marto said, learn how to create SQL with bound variables

my $rowSet = $dbh->selectall_arrayref("SELECT * FROM CollectionDB.ISIS + WHERE SourceID = ? ORDER BY ObjectKey DESC", {}, $PassedSource);

A Monk aims to give answers to those who have none, and to learn from those who know more.


Comment on Re^2: Encoding issue from DBI to string
Download Code
Re^3: Encoding issue from DBI to string
by ev0lution (Initiate) on Jan 03, 2013 at 17:48 UTC
    Thanks for the heads up. Not well versed in MySQL, nor Perl for that matter. Just sort of had all of this dumped on my plate and learning as I'm going.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (10)
As of 2014-04-18 22:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (472 votes), past polls