whizvast wrote:
Hi, Adrian-
If you use overwrite=T parameter, you will overwrite the entire table,
not each record. this is the essence of my problem and i still haven't
found out right solution. i am thinking of writing my own MySQLwriteTable
function...
Thank you for your answer
Hi, Adrian-
If you use overwrite=T parameter, you will overwrite the entire table, not
each record. this is the essence of my problem and i still haven't found out
right solution. i am thinking of writing my own MySQLwriteTable function...
Thank you for your answer anyway!
Adrian Dusa
whizvast wrote:
Hi, useR-
In RMySQL, how do I overwrite records? (equivalent to replace query).
For example, suppose that dat2 is a newer data.frame than dat1.
con - dbConnect(MySQL())
res - dbWriteTable(con, DBname, dat1, row.names=F, append=T, replace=T)
res - dbWriteTable(con,
Hi, useR-
In RMySQL, how do I overwrite records? (equivalent to replace query).
For example, suppose that dat2 is a newer data.frame than dat1.
con - dbConnect(MySQL())
res - dbWriteTable(con, DBname, dat1, row.names=F, append=T, replace=T)
res - dbWriteTable(con, DBname, dat2, row.names=F,
4 matches
Mail list logo