Quantcast
Channel: Active questions tagged r - Stack Overflow
Viewing all articles
Browse latest Browse all 205491

How do I push data from a RStudio data frame to MSSQL server table (new)

$
0
0

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!


Viewing all articles
Browse latest Browse all 205491

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>