Write or update (append=True) a data frame to a table in the ODBC database
sqlDrop(channel, sqtable)
Remove a table from the ODBC database
close(channel)
Close the connection
# RODBC Example
# import 2 tables (Crime and Punishment) from a DBMS
# into R
data frames (and call them crimedat and pundat)
library(RODBC)
myconn <-odbcConnect("mydsn", uid="Rob", pwd="aardvark")
crimedat <- sqlFetch(myconn, "Crime")
pundat <- sqlQuery(myconn, "select * from Punishment")
close(myconn)