I have set up DB server in my local system and tried pushing data in a new table but unable to push data, I have connected MS SQL server using DSN i.e. "VB"
con <- dbConnect(odbc::odbc(), "VB")
Tried pushing data as below query, which did not go well
dbWriteTable(con,"OnlineRetail1","Data")
The error I am getting is,
error in (function (classes, fdef, mtable) : unable to find an inherited method for function ‘dbwritetable’ for signature ‘"microsoft sql server", "character", "character"’
Can someone help me out.
Thanks in advance!