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

DBI Strangeness!?

by packetstormer (Monk)
on Mar 08, 2013 at 10:16 UTC ( #1022379=perlquestion: print w/replies, xml ) Need Help??
packetstormer has asked for the wisdom of the Perl Monks concerning the following question:

EDIT: As soon as I posed this I saw the problem - PLEASE IGNORE! Can't figure out how to delete a post!

Replies are listed 'Best First'.
Re: DBI Strangeness!?
by roboticus (Chancellor) on Mar 08, 2013 at 11:48 UTC

    packetstormer:

    Update: Never mind--the problem was that I forgot to put the whammistat onto the veeblefetzer.

    Rather than delete the post, you should just put in an update like the one above. Even when you solve your own problem, even if it was a silly bug, it may help someone. But if the node doesn't exist, then anyone looking around for the answer might not see it.

    ...roboticus

    When your only tool is a hammer, all problems look like your thumb.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1022379]
Approved by marto
help
Chatterbox?
[atcroft]: abner: Do you mean something like SELECT `foo`, `bar` FROM `table_name' WHERE (( `foo` = "asdf" ) OR ( `bar` = 'asdw' )); Or something else?
[abner]: yes. i am familiar with mysql but ignorant about how to get around the fact that placeholders can only represent single scalar values.
[abner]: my $sth = $dbh->prepare(' SELECT * FROM charge WHERE cpt = ?') or die "Couldn't prepare statement: " . $dbh->errstr;

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2017-01-24 03:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (201 votes). Check out past polls.