Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^4: DBI - Table names & placeholders

by McDarren (Abbot)
on Apr 26, 2010 at 06:24 UTC ( #836840=note: print w/ replies, xml ) Need Help??


in reply to Re^3: DBI - Table names & placeholders
in thread DBI - Table names & placeholders

Thanks.

A variation on your first example did the trick for me. Still not exactly what I would have liked, but it gets the job done :)

Cheers,
Darren


Comment on Re^4: DBI - Table names & placeholders
Replies are listed 'Best First'.
Re^5: DBI - Table names & placeholders
by ikegami (Pope) on Apr 26, 2010 at 07:08 UTC

    Still not exactly what I would have liked

    Maybe if you told us what you wanted?

      Well, it just irks me that I have to do a separate prepare and execute for every single row of data that I want to insert - as opposed to "prepare once, execute many times".

      But, it's no biggie - the job is done and the data is flowing.

        You're describing my second snippet.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2015-07-28 02:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (251 votes), past polls