Database Toolbox Previous page   Next Page
tables

Get database table names

Syntax

Description

t = tables(dbmeta, 'cata') returns the list of all tables and their table types in the catalog cata, for the database whose database metadata object is dbmeta, where dbmeta was created using dmd.

t = tables(dbmeta, 'cata', 'sch') returns the list of tables and table types in the schema sch, of the catalog cata, for the database whose database metadata object is dbmeta, where dbmeta was created using dmd.

For command line help on tables, use the overloaded method

Examples

Type

MATLAB returns

In this example:

The results show the names and types of the five tables.

See Also

attr, bestrowid, dmd, get, indexinfo, tableprivileges


Previous page  tableprivileges unregister Next page

© 1994-2005 The MathWorks, Inc.