Description Usage Arguments Details Value References See Also Examples
These methods are straight-forward implementations of the corresponding generic functions.
1 2 3 4 5 6 | ## S4 method for signature 'OraDriver'
dbListConnections(drv, ...)
## S4 method for signature 'ExtDriver'
dbListConnections(drv, ...)
## S4 method for signature 'OraConnection'
dbListResults(conn, ...)
|
drv |
an |
conn |
an |
... |
currently unused. |
implementation return a list of all associated connections. It shows information about all associated connections.
implementation return a list of all associated result sets. It shows information about all associated result sets.
dbListConnections |
A list of all connections associated with driver. |
dbListResults |
A list of all result sets associated with connection. |
For the Oracle Database documentaion see http://www.oracle.com/technetwork/indexes/documentation/index.html.
Oracle
,
dbGetInfo
,
dbColumnInfo
,
dbDriver
,
dbConnect
,
dbSendQuery
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Not run:
drv <- dbDriver("Oracle")
con1 <- dbConnect(drv, "scott", "tiger")
res1 <- dbSendQuery(con1, "select * from emp where deptno = 10")
res2 <- dbSendQuery(con1, "select * from emp where deptno = 20")
con2 <- dbConnect(drv, "scott", "tiger")
res3 <- dbSendQuery(con2, "select * from dept")
## get all active statements
for(con in dbListConnections(drv))
for (res in dbListResults(con))
print(dbGetStatement(res))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.