R/tdClose.R

Defines functions tdClose

Documented in tdClose

tdClose <- function(x = tdConnection) {
    if (class(tdConnection) == "RODBC") 
        close(x)
    if (class(tdConnection) == "JDBCConnection") 
        dbDisconnect(x)
}
 
nonsleepr/teradataR documentation built on May 23, 2019, 9:32 p.m.