Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: DBI don't fetch my data...or at least not all records

by mhearse (Hermit)
on Nov 21, 2012 at 01:35 UTC ( #1004826=note: print w/ replies, xml ) Need Help??


in reply to DBI don't fetch my data...or at least not all records

This has nothing to do with your question, but I thought I'd add it. It's regarding the coding of your sql queries. I use heredocs. It's not really necessary for a short query, but comes in handy for complex ones. Makes code very easy to follow.

my $sql = <<EOQ; select BBTicker, WMRic from FXSpots where id = 218' EOQ


Comment on Re: DBI don't fetch my data...or at least not all records
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (6)
As of 2014-11-25 22:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (160 votes), past polls