Description Usage Arguments Value Examples
Returns a string with SQL query to reverse engineer a database
1 | dm_re_query(rdbms)
|
rdbms |
Which database ("postgres" or "sqlserver") |
A character string with sql query
1 2 3 4 5 6 7 8 9 | ## Not run:
library(RPostgreSQL)
# dvdrental sample database: http://www.postgresqltutorial.com/postgresql-sample-database
con <- dbConnect(dbDriver("PostgreSQL"), dbname="dvdrental", user ="postgres")
sQuery <- dm_re_query("postgres")
dm_dvdrental <- dbGetQuery(con, sQuery)
dbDisconnect(con)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.