Problems with RODBC sqlSave

后端 未结 6 905
轻奢々
轻奢々 2021-02-14 17:39

I\'m having some difficulty inserting a data frame into a mySql database using RODBC. Below is the code I\'m using:

data <- data.frame(analysedDataID=c(1,2,3         


        
6条回答
  •  暖寄归人
    2021-02-14 18:26

    different errors can lead to the same error msg. So it is not clear whether this helps you: however if "tablename='wellAnalysedDataTablealready' is already created in the mySql database as an empty table you will get this error. Try to remove it and let the sqlsave(...) function take care of it

提交回复
热议问题