Description Usage Arguments Details Examples
Connect to oracle.
1 2 |
dbname |
Oracle database name |
host |
Host name |
port |
Port |
user |
User name |
password |
Password |
... |
Other arguments passed to function. |
Note that you can also use SID based connection if supported by your infrastructure
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Not run:
host <- "11.111.11.11"
port <- 1521
sid <- "mydbident"
connect.string <- paste(
"(DESCRIPTION=",
"(ADDRESS=(PROTOCOL=tcp)(HOST=", host, ")(PORT=", port, "))",
"(CONNECT_DATA=(SID=", sid, ")))", sep = "")
my_db <- src_oracle(username = "ilikedb", password = "verysecret",
dbname = connect.string)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.