connect: Connect to a database instance

View source: R/connect.R

connectR Documentation

Connect to a database instance

Description

When running get_cdw and related functions, the connection to the database is opened silently in the background, but this function might be useful if you need to create a connection without immediately querying the database. For instance, http://rmarkdown.rstudio.com/authoring_knitr_engines.html#sql.

Usage

connect(dsn, uid = NULL, pwd = NULL)

Arguments

dsn

The dsn name, as it appears in your tnsnames.ora

uid

User ID - if NULL, it will be looked up in the getcdw encrypted credential databse

pwd

Password - if NULL, it will be looked up in the getcdw encrypted credential databse


tarakc02/getcdw documentation built on April 2, 2022, 4:13 p.m.