User`s guide
attr
7-5
colnum — Column number
scalar
Column number, specified as a scalar to denote the column in the fetched data set curs
for retrieving attribute information.
Data Types: double
Output Arguments
attributes — Attribute data
structure array
Attribute data, returned as a structure array containing attribute information for each
column in the fetch data set curs. The following attributes are available.
Attribute Description
fieldName Name of the column.
typeName Data type.
typeValue Numerical representation of the data type.
columnWidth Size of the field.
precision Precision value for floating and double data types; an
empty value is returned for strings.
scale Precision value for real and numeric data types; an empty
value is returned for strings.
currency If this equals true, the data format is currency.
readOnly If this equals true, the data cannot be overwritten.
nullable If this equals true, the data can be NULL.
Message Error message returned by fetch.
See Also
close | cols | columnnames | columns | database | dmd | fetch | get | tables
| width