MATLAB DATABASE TOOLBOX RELEASE NOTES Betriebsanweisung Seite 611

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 684
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 610
namecolumn
7-181
namecolumn
Map resultset column name to resultset column index
Syntax
x = namecolumn(rset, n)
Description
x = namecolumn(rset, n) maps a resultset column name n to its resultset column
index. rset is the resultset and n is a string or cell array of strings containing the
column names.
Examples
1
Get the indices for the column names DNAME and LOC resultset object rset.
x = namecolumn(rset, {'DNAME';'LOC'})
x =
2 3
The results show that DNAME is column 2 and LOC is column 3.
2
Get the index only for the LOC column.
x = namecolumn(rset, 'LOC')
See Also
columnnames | resultset
Seitenansicht 610
1 2 ... 606 607 608 609 610 611 612 613 614 615 616 ... 683 684

Kommentare zu diesen Handbüchern

Keine Kommentare