MATLAB DATABASE TOOLBOX RELEASE NOTES Guide de l'utilisateur Page 135

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 684
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 134
Microsoft SQL Server JDBC for Mac OS X
2-109
you want to close Database Explorer and all database connections, click the Close
button ( ) in the top-left corner.
If Database Explorer is docked, click the Close button ( ) to close all database
connections and Database Explorer.
Connect to Microsoft SQL Server using the JDBC connection command line.
When using the command line, you do not have to set up a data source with Database
Explorer. You can use the command line to pass all the required parameters for
connection.
1
Use the Vendor name-value pair argument of database to specify a connection to
a Microsoft SQL Server database. Set the AuthType name-value pair argument to
Server. For example, the following code assumes you are connecting to a database
named dbname on a database server named sname with user name username,
password pwd, and port number as 123456.
conn = database('dbname','username','pwd',...
'Vendor','Microsoft SQL Server','Server','sname',...
'AuthType','Server','PortNumber',123456);
2
Close the database connection conn.
close(conn)
Vue de la page 134
1 2 ... 130 131 132 133 134 135 136 137 138 139 140 ... 683 684

Commentaires sur ces manuels

Pas de commentaire