View source: R/get_oracle_tables.R
get_oracle_tables | R Documentation |
Pulls a list of all of the tables and owners found within a database
get_oracle_tables(channel, owner = NULL)
channel |
DBI Object. Inherited from DBIConnection-class. This object is used to connect
to communicate with the database engine. (see |
owner |
character string. The name of the tables owner. Used to filter tables by a specific owner |
Data frame (n x 2)
column 1 |
Nam of the Database |
column 2 |
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
connect_to_database
## Not run:
# 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")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.