title: Export data frame to SQL server using RODBC package
body: <p>I am using <code>RODBC</code> package in R to import / export data frames from SQL Server database. While there is no problem in importing. I dont know how to export the contents of a data frame into an existing SQL table. </p>
  
  <p>I am trying to use <code>sqlQuery()</code> function available in the package, but I am not sure how to insert multiple records in the table.</p>
  
  <p>A sample  on how to insert the rows will be helpful
  I have ensured that columns of my table and data frame are same.</p>