Database Toolbox Previous page   Next Page
cols

Get number of columns in fetched data set

Syntax

Description

numcols = cols(curs) returns the number of columns in the fetched data set curs.

Examples

This example shows that there are three columns in the fetched data set, curs.

See Also
attr, columnnames, columnprivileges, columns, fetch, get, rows, width


Previous page  close columnnames Next page

© 1994-2005 The MathWorks, Inc.