| Database Toolbox User's Guide | Search  Help Desk |
| cols | Examples See Also |
Get number of columns in fetched data set
Syntax
numcols = cols(cursor)
Description
numcols = cols(cursor)
gets the number of columns in the fetched data set, cursor.
Examples
This example shows that there are three columns in the fetched data set,cursorA:
colsA = cols(cursorA)
colsA =
3
See Also
columnnames, fetch, rows, width