Description Usage Arguments Examples
Insert rows into a table.
1 2 3 4 5 | sqlTableInsertInto(con, table, values, row.names = NA, ...)
## S4 method for signature 'DBIConnection'
sqlTableInsertInto(con, table, values,
row.names = NA, ...)
|
con |
A database connection. |
table |
Name of the table. Escaped with
|
values |
A data frame. Factors will be converted to character vectors.
Character vectors will be escaped with |
row.names |
Either If A string is equivalent to For backward compatibility, |
... |
Other arguments used by individual methods. |
1 2 3 4 | sqlTableInsertInto(ANSI(), "iris", head(iris))
sqlTableInsertInto(ANSI(), "mtcars", head(mtcars))
sqlTableInsertInto(ANSI(), "mtcars", head(mtcars), row.names = FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.