Create a new SQL table
create_table.Rd
create_table
creates a new SQL table from a dataframe.
It will not append a table if it already exists, nor
will it overwrite an existing table. Users should
use append_table
, truncate_table
or overwrite_table
to explicitly perform those actions.
Arguments
- .data
Dataframe to append to the SQL table.
- conn
A DBIConnection object, as returned by
DBI::dbConnect()
.- database
Name of database or catalog.
- schema
Name of schema.
- table
Name of table.
See also
Other basics:
append_table()
,
nuke_table()
,
overwrite_table()
,
read_table()
,
survey_table()
,
truncate_table()