dropEmulatedTempTables {DatabaseConnector} | R Documentation |
Drop all emulated temp tables.
Description
On some DBMSs, like Oracle and BigQuery, DatabaseConnector
through SqlRender
emulates temp tables
in a schema provided by the user. Ideally, these tables are deleted by the application / R script creating them,
but for various reasons orphan temp tables may remain. This function drops all emulated temp tables created in this
session only.
Usage
dropEmulatedTempTables(
connection,
tempEmulationSchema = getOption("sqlRenderTempEmulationSchema")
)
Arguments
connection |
The connection to the database server created using either
|
tempEmulationSchema |
Some database platforms like Oracle and Impala do not truly support temp tables. To emulate temp tables, provide a schema with write privileges where temp tables can be created. |
Value
Invisibly returns the list of deleted emulated temp tables.
[Package DatabaseConnector version 6.3.2 Index]