User`s guide

fetch
7-151
Output Arguments
curs — Database cursor
database cursor object
Database cursor, returned as a database cursor object populated with fetched data in the
Data property. You can specify the output data format in the Data property by using
setdbprefs.
results — Result data
cell array | table | dataset | structure | numeric matrix
Result data, returned as a cell array, table, dataset array, structure, or numeric matrix
as specified by 'DataReturnFormat' in setdbprefs.
More About
“Importing Data Using the fetch Function” on page 6-48
“Importing Data Using a Scrollable Cursor”
“Connecting to a Database Using the Native ODBC Interface”
“Preference Settings for Large Data Import”
“Data Retrieval Restrictions” on page 1-8
See Also
close | database | exec | logical | setdbprefs