Odbc Toolkit - database
- :
conn =
database(dbname, username, password)
- :
conn =
database(dbname, username, password, propertyname, propertyvalue …)
Create a odbc database connection
Inputs
dbname
ODBC DSN connection name, or connection string
username
Username for connecting to database.
password
Password for connecting to database.
Outputs
conn
A connection object for the connected database
Examples
Open a a preconfigured default database, using blank username and password.
db = database("default", "", "");
See also: odbc, connection.