Database Toolbox Previous page   Next Page
tableprivileges

Get database table privileges

Syntax

Description

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

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

tp = tableprivileges(dbmeta, 'cata', 'sch', 'tab') returns the list of privileges for the table tab, in the schema sch, of the catalog cata, for the database whose database metadata object is dbmeta, where dbmeta was created using dmd.

Examples

Type

MATLAB returns

In this example:

The results show the set of privileges.

See Also
dmd, get, tables


Previous page  supports tables Next page

© 1994-2005 The MathWorks, Inc.