Database Toolbox Previous page   Next Page
columnprivileges

Get database column privileges

Syntax

Description

lp = columnprivileges(dbmeta, 'cata', 'sch', 'tab') returns the list of privileges for all columns in 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.

lp = columnprivileges(dbmeta, 'cata', 'sch', 'tab', 'l') returns the list of privileges for column l, in 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:

To view the contents of the third column in lp, type

MATLAB returns the column privileges for the build_id column.

See Also
cols, columns, columnnames, dmd, get


Previous page  columnnames columns Next page

© 1994-2005 The MathWorks, Inc.