User`s guide

database
7-43
database
Connect to database
Syntax
conn = database(instance,username,password)
conn = database.ODBCConnection(instance,username,password)
conn = database(instance,username,password,driver,databaseurl)
conn = database(instance,username,password,Name,Value)
Description
conn = database(instance,username,password) returns a database connection
object for the connection to the ODBC data source setup instance using an ODBC
driver.
conn = database.ODBCConnection(instance,username,password) returns a
database connection object for the connection to the ODBC data source setup instance
using a native ODBC interface.
conn = database(instance,username,password,driver,databaseurl)
connects to the database instance using a JDBC driver.
conn = database(instance,username,password,Name,Value) connects to the
database instance using a JDBC driver with connection properties specified by one or
more Name,Value pair arguments.
Examples
Connect to Microsoft Access Using the Native ODBC Interface
Connect to the database with the ODBC data source name dbtoolboxdemo using the
user name username and password pwd.