User`s guide
7 Functions — Alphabetical List
7-18
close(conn)
Input Arguments
curs — Database cursor
database cursor object
Database cursor, specified as an open SQL database cursor object created using exec.
returnCellArray — Return format
true | false
Return format, specified as Boolean values true or false. When set to true,
columnnames returns the column names as a cell array. When set to false,
columnnames returns the column names as a long string.
Data Types: logical
Output Arguments
columnlist — Column name list
string | cell array
Column name list of columns in the selected data, returned as a string or a cell array.
Without the argument returnCellArray, columnnames returns the list of column names
as a long string. The string encloses the column names in quotes and separates the
column names by commas. If you use the argument returnCellArray and set it to true,
then columnnames returns the column names as a cell array.
See Also
attr | close | cols | columnprivileges | columns | database | fetch | get |
width