I am trying to update a SQL table using sqlSave function of RODBC package in R. Data is present in a data frame. When I try to run the command:
sqlSave(DBCon
Check using verbose=TRUE in sqlSave argument if any of the columnames in the insert query has the same that you have in your original table.
In my table I used to have a columname with space (the same if it has numbers o different character). It won´t work because sqlSave will remove those character when it creates the query.