dbDisconnect,ODBCConnection-method {RODBCDBI}R Documentation

Close a current session.

Description

Close a current session.

Usage

## S4 method for signature 'ODBCConnection'
dbDisconnect(conn)

Arguments

conn

a ODBCConnection object, produced by dbConnect

Examples

## Not run: 
library(DBI)
con <- dbConnect(RODBCDBI::ODBC(), dsn="test", user="sa", password="Password12!")
dbDisconnect(con)

## End(Not run)

[Package RODBCDBI version 0.1.1 Index]