RODM_close_dbms_connection: Close a connection to an Oracle Database

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

This function closes a connection to an Oracle Database.

Usage

1
2

Arguments

database

Database ODBC channel identifier returned from a call to RODM_open_dbms_connection

Details

This functions closes an Oracle Database ODBC channel by calling the RODBC function: odbcClose.

Value

None.

Author(s)

Pablo Tamayo pablo.tamayo@oracle.com

Ari Mozes ari.mozes@oracle.com

References

Oracle Data Mining Administrator's Guide 11g Release 1 (11.1) http://download.oracle.com/docs/cd/B28359_01/datamine.111/b28130/toc.htm

See Also

RODM_open_dbms_connection

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
# Given a database user rodm, establish a connection to the orcl11g
# database.
# The database user would need privileges as described above, and could
# have been created in a fashion similar to:
# grant create session, create table, create view, create mining model, 
#       unlimited tablespace to rodm identified by rodm;

## Not run: 
DB <- RODM_open_dbms_connection(dsn="orcl11g", uid="rodm", pwd="rodm")

# Close the connection to the database.
RODM_close_dbms_connection(DB)

## End(Not run)

RODM documentation built on May 2, 2019, 7:03 a.m.