Learn R Programming

RODBC (version 1.0-2)

odbcClose: ODBC Close Connections

Description

Close connections to ODBC databases.

Usage

odbcClose(channel)
## S3 method for class 'RODBC':
close(con, \dots)
odbcCloseAll()

Arguments

case
Controls case changes for different RDBMS engines.
channel, con
RODBC connection object returned by odbcConnect.
...
additional arguments passed from the generic.

Value

  • Function odbcClose returns invisibly a logical indicating if it succeeded.

Details

odbcClose cleans up and frees resources. It is also the method for the generic function close.

odbcCloseAll closes all open channels,

See Also

odbcConnect