Pulls a list of all of the tables and owners found within a database
get_oracle_tables(channel, owner = NULL)
DBI Object. Inherited from DBIConnection-class. This object is used to connect
to communicate with the database engine. (see connect_to_database
)
character string. The name of the tables owner. Used to filter tables by a specific owner
Data frame (n x 2)
Nam of the Database
Name of the table owner
The default sql statement ""SELECT table_name,owner FROM all_tables ORDER by owner"
" is used
Use the data dictionary for an html list
if (FALSE) {
# extracts ALL table names by owner from the database
channel <- connect_to_database(server="name_of_server",uid="individuals_username")
get_oracle_tables(channel)
#' # extracts ALL table names by owner = VTR from the database
channel <- connect_to_database(server="name_of_server",uid="individuals_username")
get_oracle_tables(channel,"VTR")
}