MATLAB DATABASE TOOLBOX RELEASE NOTES User's Guide Page 593

  • Download
  • Add to my manuals
  • Print
  • Page
    / 684
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 592
indexinfo
7-163
indexinfo
Return indices and statistics for database tables
Syntax
x = indexinfo(dbmeta, 'cata', 'sch', 'tab')
Description
x = indexinfo(dbmeta, 'cata', 'sch', 'tab') returns indices and statistics for
the table tab, in the schema sch, of the catalog cata, for the database whose database
metadata object is dbmeta.
Examples
Get index and statistics information for the table DEPT in the schema SCOTT of the
catalog orcl, for dbmeta.
x = indexinfo(dbmeta,'','SCOTT','DEPT')
x =
Columns 1 through 8
'orcl' 'SCOTT' 'DEPT' '0' 'null' 'null' '0' '0'
'orcl' 'SCOTT' 'DEPT' '0' 'null' 'PK_DEPT' '1' '1'
Columns 9 through 13
'null' 'null' '4' '1' 'null'
'DEPTNO' 'null' '4' '1' 'null'
The results contain two rows, meaning there are two index columns. The statistics for the
first index column appear in the following table.
Column Description Value
1 Catalog orcl
2 Schema SCOTT
3 Table DEPT
Page view 592
1 2 ... 588 589 590 591 592 593 594 595 596 597 598 ... 683 684

Comments to this Manuals

No comments