Description Usage Arguments Details See Also Examples
Read data from a table, write a data frame to a table or delete the content of a table.
| 1 2 3 4 5 6 7 8 9 10 | ## S4 method for signature 'JDBCConnection,character'
dbReadTable(conn, name, ...)
## S4 method for signature 'JDBCConnection,character,data.frame'
dbWriteTable(conn, name, value,
  create = TRUE, append = FALSE, truncate = FALSE, temporary = FALSE,
  row.names = NA, ...)
## S4 method for signature 'JDBCConnection,character'
dbTruncateTable(conn, name, ...)
 | 
| conn | A  | 
| name | character vector of length 1 specifying the name of a table in the database | 
| ... | Other parameters passed on to methods. | 
| value | the date frame to write to the table | 
| create | a logical specifying whether to create a new table if it does not exist. Its default is TRUE. | 
| append | a logical specifying whether to append to an existing table. Its default is FALSE | 
| truncate | a logical specifying whether to truncate an existing table before appending. Its default is FALSE | 
| temporary | 
 | 
| row.names | Either  If  A string is equivalent to  For backward compatibility,  | 
These methods use sql_dialect functions to generate SQL statments.
Other JDBCConnection methods: dbConnect,JDBCConnection-method,
dbDisconnect,JDBCConnection-method,
dbSendQuery,JDBCConnection,character-method,
dbj-sql-generate,
dbj-sql-quote, dbj-table
| 1 2 3 4 5 6 | ## Not run: 
dbWriteTable(con, iris)
dbReadTable(con, "iris")
dbTruncateTable(con, "iris")
## End(Not run)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.