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

  • 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 432
attr
7-3
attributes =
1x4 struct array with fields:
fieldName
typeName
typeValue
columnWidth
precision
scale
currency
readOnly
nullable
Message
attributes contains a structure array for three columns in the table inventoryTable.
Display the attribute data for the first column in the table inventoryTable.
attributes(1)
ans =
fieldName: 'PRODUCTNUMBER'
typeName: 'NUMBER'
typeValue: 2.00
columnWidth: 39.00
precision: 38.00
scale: 0
currency: 'true'
readOnly: 'false'
nullable: 'true'
Message: []
Close the cursor and connection.
close(curs)
close(conn)
Retrieve Attribute Data for a Specific Column
Connect to an Oracle database using an ODBC connection. This code assumes that
you are connecting a data source named dbname with user name username and
password pwd. The data source identifies an Oracle database that contains the table
Vue de la page 432
1 2 ... 428 429 430 431 432 433 434 435 436 437 438 ... 683 684

Commentaires sur ces manuels

Pas de commentaire