User`s guide
7 Functions — Alphabetical List
7-220
SQLQuery: 'select * from EMP'
Message: []
Type: 'Database Cursor Object'
ResultSet: [1x1 oracle.jdbc.driver.OracleResultSet]
Cursor: [1x1 com.mathworks.toolbox.database.sqlExec]
Statement: [1x1 oracle.jdbc.driver.OracleStatement]
Fetch: [1x1 com.mathworks.toolbox.database.fetchTheData]
The RowLimit property of curs is 5 and the Data property is 5x8 cell, indicating that
fetch returned five rows of data.
In this example, RowLimit limits the maximum number of rows you can retrieve.
Therefore, rerunning the fetch function returns no data.