connect_db: Connect to db2

Description Usage Arguments Examples

Description

This function allows to connect to db2 database

Usage

1
connect_db(driver, host, port, dbname, user, pw)

Arguments

driver

the path to the jdbc driver

host

The host name of the database.

port

the port number of the database

dbname

the name of the database

user

the user name to log in

pw

the password for the user

Examples

1
2
3
4
## Not run: 
connect_db("C:/db2jcc4.jar", 'xx.xxx.org' port = "12345", user = "user", pw = "pw")

## End(Not run)

dajuntian/emr4washu documentation built on May 14, 2019, 3:29 p.m.