MATLAB DATABASE TOOLBOX RELEASE NOTES User's Guide Page 398

  • Download
  • Add to my manuals
  • Print
  • Page
    / 684
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 397
6 Using Database Toolbox Functions
6-56
1
Retrieve the Column Name in the Imported Data
Retrieve the column name colname using curs.
colname = columnnames(curs)
colname =
'productDescription'
Retrieve the Column Width in the Imported Data
Retrieve the column width colsize, or size of the field, for the first column using curs.
colsize = width(curs,1)
colsize =
50
Display Attributes in the Imported Data
Display the attributes for the product description column using curs.
attributes = attr(curs)
attributes =
fieldName: 'productDescription'
typeName: 'VARCHAR'
typeValue: 12
columnWidth: 50
precision: []
scale: []
currency: 'false'
readOnly: 'false'
nullable: 'true'
Message: []
Close the Cursor Object
After finishing with the cursor object, close it.
Page view 397
1 2 ... 393 394 395 396 397 398 399 400 401 402 403 ... 683 684

Comments to this Manuals

No comments