I\'m trying to upload a dataframe to a SQL Server table, I tried breaking it down to a simple SQL query string..
library(RODBC) con <- odbcDriverConnect(\
This worked for me and I found it to be simpler.
library(sqldf) library(odbc) con <- dbConnect(odbc(), Driver = "SQL Server", Server = "ServerName", Database = "DBName", UID = "UserName", PWD = "Password") dbWriteTable(conn = con, name = "TableName", value = x) ## x is any data frame