Displaying 2 results from an estimated 2 matches for "testappend_slt".
2009 May 29
1
RODBC sqlSave with DB2
I am running R version 2.8.1 on Windows XP OS.
This works fine. (Data.frame dta is created with records from the DB2
table.):
sql <- "select * from storage.testappend_slt order by uut"
dta <- sqlQuery(channel,sql)
But when I try to append records (from data.frame newdta) to the same DB2
table. I get an error:
sqlSave(channel, newdta, tablename = storage.testappend_slt, append = TRUE,
+ rownames = FALSE, colnames = FALSE,
+ verbose = FALSE,...
2009 Jun 09
0
RODBC sqlSave does not append the records
I am running R version 2.8.1 on Windows XP OS.
recs is a one-row, eighteen-column data.frame I want to insert into a DB2
table.
sqlSave(channel, recs, tablename = "testappend_slt", append = TRUE,
+ rownames = FALSE, colnames = FALSE,
+ verbose = TRUE, oldstyle = FALSE,
+ safer = TRUE, addPK = FALSE,
+ fast = FALSE, test = FALSE, nastring = NULL)
Query: INSERT INTO "testappend_slt" ( "RECORDNO", "HEADERID", "...