MATLAB DATABASE TOOLBOX RELEASE NOTES Betriebsanweisung Seite 107

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 684
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 106
PostgreSQL JDBC for Windows
2-81
Connect to PostgreSQL using the JDBC connection command line.
1
Use the Vendor name-value pair argument of database to specify a connection to a
PostgreSQL database. For example, the following code assumes you are connecting
to a database named dbname on a database server named sname with user name
username and password pwd.
conn = database('dbname','username','pwd',...
'Vendor','PostgreSQL',...
'Server','sname');
2
Close the database connection conn.
close(conn)
See Also
close | database | javaaddpath
More About
“Working with Database Explorer” on page 4-2
“Bringing Java Classes into MATLAB Workspace”
Seitenansicht 106
1 2 ... 102 103 104 105 106 107 108 109 110 111 112 ... 683 684

Kommentare zu diesen Handbüchern

Keine Kommentare