Run SQL Query

SQL statement to import data into the MATLAB® workspace


exec Execute SQL statement and open cursor
fetch Import data into MATLAB workspace from cursor object or from execution of SQL statement
fetchmulti Import data from multiple resultsets
get Retrieve object properties
resultset Construct resultset object
rsmd Construct resultset metadata object
runsqlscript Run SQL script on database
set Set properties for database, cursor, or drivermanager object
datastore Create datastore to access collection of data in a database
dexplore Start SQL Database Explorer to import data

Using Objects

DatabaseDatastore Access collection of data stored in database
Was this topic helpful?