Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re: Batch Upload/Insert Row wise with Perl DBI

by runrig (Abbot)
on Sep 27, 2011 at 16:33 UTC ( #928117=note: print w/replies, xml ) Need Help??

in reply to Batch Upload/Insert Row wise with Perl DBI

According to the docs, you can use the ArrayTupleFetch attribute in the execute_array() method, but I don't see how it's any better than what morgon provided above (unless your db really does some sort of batch/bulk load in this situation).
  • Comment on Re: Batch Upload/Insert Row wise with Perl DBI

Replies are listed 'Best First'.
Re^2: Batch Upload/Insert Row wise with Perl DBI
by mje (Curate) on Sep 28, 2011 at 07:56 UTC

    FYI, some DBDs handle execute_array etc themselves often allowing many rows of data to be sent to the database in one go. DBD::Oracle is one. If you look at the tests in DBD::Oracle and 26exe_array.t you can find examples.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://928117]
[stevieb]: A couple of years ago I went to Curacao on a business trip which is a few parallels south of Canary Islands, but one thing I liked was it was 90 degrees at all times consistently. Much different experience than living in Canada :)

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (14)
As of 2017-02-23 17:15 GMT
Find Nodes?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?

    Results (349 votes). Check out past polls.