I try to update a row in my sql database using R. Therefore I use the following statement:
s <- sprintf("UPDATE `match_data` SET `distance` = '%a' WHERE 'Match.ID' = '%a'", distance, id)
check <- dbGetQuery(con, s)
Where distance and id are both numeric values. And the columns in which I try to update the values are both of type bigint(10).
When I run the query I do not get an error. However, the values do not seem to update. Any thought where this goes wrong?