MATLAB DATABASE TOOLBOX RELEASE NOTES Podręcznik Użytkownika Strona 473

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 684
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 472
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.
Przeglądanie stron 472
1 2 ... 468 469 470 471 472 473 474 475 476 477 478 ... 683 684

Komentarze do niniejszej Instrukcji

Brak uwag