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

Re: DBI Bind Columns

by DamnDirtyApe (Curate)
on Apr 22, 2004 at 17:34 UTC ( #347427=note: print w/replies, xml ) Need Help??


in reply to DBI Bind Columns

Not sure about the bind variables, but the first bit should look like this:

$query = <<'END'; select date, run_time, run_dis, num_push, num_sit, abs, comment, workout_id, scored from "cshaws_Schema"."log2" where pid = ? order by date END $sth = $dbh->prepare($query); $sth->execute($pid);

_______________
DamnDirtyApe
Those who know that they are profound strive for clarity. Those who
would like to seem profound to the crowd strive for obscurity.
            --Friedrich Nietzsche

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2020-05-29 13:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If programming languages were movie genres, Perl would be:















    Results (169 votes). Check out past polls.

    Notices?