R/RODM_drop_dbms_table.R

`RODM_drop_dbms_table` <-  function(
#
# Drop an Oracle Database table
#
database,                             # Name of the database ODBC channel
data_table_name)                      # Name of the table in the database
{
  res <- sqlQuery(database, 
                  paste("drop table ", data_table_name, " purge", 
                        sep="", collapse=""))
  if (identical(res, character(0))) invisible(TRUE) else res
} # end of RODM_drop_dbms_table

Try the RODM package in your browser

Any scripts or data that you put into this service are public.

RODM documentation built on May 2, 2019, 7:03 a.m.