User`s guide

rows
7-199
Return the number of rows in the Data property of curs.
numrows = rows(curs)
numrows =
5
Display the rows of data in the Data property of curs.
curs.Data
ans =
[2] [400314] [1002] [ 9] 'Painting Set'
[4] [400339] [1008] [21] 'Space Cruiser'
[1] [400345] [1001] [14] 'Building Blocks'
[5] [400455] [1005] [ 3] 'Tin Soldier'
[3] [400999] [1009] [17] 'Slinky'
Close the connection.
close(conn)
Input Arguments
curs — Database cursor
database cursor object
Database cursor, specified as an open SQL database cursor object generated using
fetch.
Output Arguments
numrows — Number of rows in database cursor object
scalar
Number of rows in the database cursor object, returned as a scalar.
See Also
close | cols | database | exec | fetch | get | rsmd