db_schema_drop | R Documentation |
db_schema_drop()
deletes a schema from the database.
For certain DBMS it is possible to force the removal of a non-empty schema, see below.
db_schema_drop(con, schema, force = FALSE, ...)
con |
An object of class |
schema |
Class |
force |
Boolean, default |
... |
Passed on to the individual methods. |
Methods are not available for all DBMS.
An error is thrown if no schema of that name exists.
The argument schema
(and dbname
for MSSQL) can be provided as SQL
objects.
Keep in mind, that in this case it is assumed that they are already correctly quoted as identifiers.
Additional arguments are:
dbname
: supported for MSSQL. Remove a schema from a different
database on the connected MSSQL-server; default: database addressed by con
.
NULL
invisibly.
Other schema handling functions:
db_schema_create()
,
db_schema_exists()
,
db_schema_list()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.