Learn R Programming

sjdbc (version 1.6.0)

sjdbcCloseConnection: Close a Persistent Database Connection

Description

Closes any open persistent database connection.

Usage

sjdbcCloseConnection()

Arguments

Value

returns no value.

Details

Closes a connection that was made persistent previously using the keepAlive argument to one of the database functions.

This function is used primarily by importJDBC, exportJDBC, and executeJDBC to close connections after execution. It rarely needs to be called directly.

See Also

importJDBC, exportJDBC, executeJDBC

Examples

Run this code
# NOT RUN {
  # close an open connection
  sjdbcCloseConnection()
# }

Run the code above in your browser using DataLab