tableprivileges - Return database table privileges

Syntax

tp = tableprivileges(dbmeta, 'cata')
tp = tableprivileges(dbmeta, 'cata', 'sch')
tp = tableprivileges(dbmeta, 'cata', 'sch', 'tab')

Description

Examples

Get table privileges for the builds table in the schema geck for the catalog msdb, for the database metadata object dbmeta.

tp = tableprivileges(dbmeta,'msdb','geck', 'builds')
tp = 
      'DELETE'    'INSERT'    'REFERENCES' ...
	     'SELECT'    'UPDATE'

See Also

dmd, get, tables

  


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