Odbc Toolkit - odbc
- :
conn =
odbc(dbname, username, password)
- :
conn =
odbc(dbname, username, password, propertyname, propertyvalue …)
- :
conn =
odbc(dsnconnectstr)
Create an ODBC database connection
Inputs
dbname
ODBC DSN connection name, or connection string
username
Username foe 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 = odbc("default", "", "");
See also: database, connection.