tables - Return database table names

Syntax

t = tables(dbmeta, 'cata')
t = tables(dbmeta, 'cata', 'sch')

Description

Examples

Get the table names and types for the schema SCOTT in the catalog orcl, for the database metadata object dbmeta.

t = tables(dbmeta,'orcl', 'SCOTT')
t = 
    'BONUS'       'TABLE'
    'DEPT'        'TABLE'
    'EMP'         'TABLE'
    'SALGRADE'    'TABLE'
    'TRIAL'       'TABLE' 

See Also

attr, bestrowid, dmd, get, indexinfo, tableprivileges

  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS