Description Usage Arguments Examples
This function allows to connect to db2 database
1 | connect_db(driver, host, port, dbname, user, pw)
|
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 |
1 2 3 4 | ## Not run:
connect_db("C:/db2jcc4.jar", 'xx.xxx.org' port = "12345", user = "user", pw = "pw")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.