drop_table: Delete Table

View source: R/drop_table.R

drop_tableR Documentation

Delete Table

Description

If the specified tables exists, it will be deleted.

Usage

drop_table(table_to_delete, conn)

Arguments

table_to_delete

The table that you will delete. NOTE: if you are using the Research database you can only delete tables associated with the schema you used to create conn (probably the services database, would have been in .renviron). NOTE for Cornerstone you must specify the entire schema + table (sndbx__research.mc_temp) while for Research you only specify the table (mc_temp).

conn

RODBC, RJDBC or other supported data connection

Details

Removes a table from a database.


MattjCamp/dbr documentation built on May 8, 2023, 4:38 p.m.