MATLAB DATABASE TOOLBOX RELEASE NOTES Betriebsanweisung Seite 398

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 684
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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.
Seitenansicht 397
1 2 ... 393 394 395 396 397 398 399 400 401 402 403 ... 683 684

Kommentare zu diesen Handbüchern

Keine Kommentare