Create a database connection using a JDBC driver. To create this connection, you must configure a JDBC data source. For more information, see theconfigureJDBCDataSourcefunction. Then, create aDatabaseDatastoreobject and read all data stored in the object.
Create a database connection to the JDBC data sourceMSSQLServerJDBCAuth. This data source configures a JDBC driver to a Microsoft® SQL Server® database with Windows® authentication. Specify a blank user name and password.
查询results, returned as a table of the records in the data set. Executing the SQL statement specified in the查询property of theDatabaseDatastoreobject creates the data set.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.