Skip to content

inserting multiple rows into a database

2 messages · Rajarshi Guha, Don MacQueen

#
Hi, I'm using the ROracle package and I've been looking for a way to insert
data into a table at one go. While I can create multiple insert statements,
I was hoping that I could supply a data.frame (wth the appropriate columns)
and have a single function insert them at one go. While I could write this
function myslf, I was wondering if any body has done something like this
befoe.

Thanks,
3 days later
#
See the dbWriteTable function, and note the "append" argument.

-Don
At 5:25 PM -0400 7/6/09, Rajarshi Guha wrote: