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. | [reply] |
You're describing my second snippet.
| [reply] |
oh, duh - yes, of course!
I've modified my code to use the caching technique in that example, and it works a treat. In production this will be generating ~100,000 inserts on each run (every 2 hours), so I expect it may provide quite a performance boost.
Thanks again :)
| [reply] |