dbRemoveTable {DBI} | R Documentation |
Executes the sql DROP TABLE name
.
dbRemoveTable(conn, name, ...)
conn |
A |
name |
A character string specifying a DBMS table name. |
... |
Other parameters passed on to methods. |
a logical vector of length 1 indicating success or failure.
Other DBIConnection generics: DBIConnection-class
,
dbDataType
, dbDisconnect
,
dbExecute
, dbExistsTable
,
dbGetException
, dbGetInfo
,
dbGetQuery
, dbIsValid
,
dbListFields
, dbListResults
,
dbListTables
, dbReadTable
,
dbSendQuery
, dbSendStatement
con <- dbConnect(RSQLite::SQLite(), ":memory:") dbExistsTable(con, "iris") dbWriteTable(con, "iris", iris) dbExistsTable(con, "iris") dbRemoveTable(con, "iris") dbExistsTable(con, "iris") dbDisconnect(con)