tdConnect: Connect to Teradata database

Description Usage Arguments Details Value Examples

View source: R/tdConnect.R

Description

Open up a channel to a Teradata database.

Usage

1
tdConnect(dsn, uid = "", pwd = "", database = "", dType = "odbc")

Arguments

dsn

string containing the data source name to connect to.

uid

string containing the user id.

pwd

string containing the password.

database

string containing the default database.

dType

string containing the driver type: odbc(default) or jdbc

Details

Function uses RODBC to make a connection to a Teradata database.

Value

returns an R channel

Examples

1
2
3
4
## Not run: 
tdConnect("myDsn")

## End(Not run)

nonsleepr/teradataR documentation built on May 23, 2019, 9:32 p.m.