powered by
Executes the SQL DROP TABLE.
DROP TABLE
# S4 method for SQLiteConnection,character dbRemoveTable(conn, name, ...)
An existing '>SQLiteConnection
'>SQLiteConnection
character vector of length 1 giving name of table to remove
Needed for compatibility with generic. Otherwise ignored.
The corresponding generic function DBI::dbRemoveTable().
DBI::dbRemoveTable()
# NOT RUN { library(DBI) con <- dbConnect(RSQLite::SQLite()) dbWriteTable(con, "test", data.frame(a = 1)) dbListTables(con) dbRemoveTable(con, "test") dbListTables(con) dbDisconnect(con) # }
Run the code above in your browser using DataLab