MATLAB DATABASE TOOLBOX RELEASE NOTES Guide de l'utilisateur Page 398

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 684
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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.
Vue de la page 397
1 2 ... 393 394 395 396 397 398 399 400 401 402 403 ... 683 684

Commentaires sur ces manuels

Pas de commentaire