columnnames - Retrieve names of columns in fetched data set

Syntax

colnames = columnnames(curs)

Description

colnames = columnnames(curs) returns the column names in the fetched data set curs as a 1-by-N vector of field names.

Examples

Display the columns in the fetched data set curs:

colnames = columnnames(curs)
colnames =
	'Address', 'City', 'Country'

See Also

attr, cols, columnprivileges, columns, cursor.fetch, get, width

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS