MATLAB DATABASE TOOLBOX RELEASE NOTES Uživatelská příručka Strana 449

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 684
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 448
columnprivileges
7-19
columnprivileges
List database column privileges
Syntax
lp = columnprivileges(dbmeta,'cata','sch','tab')
lp = columnprivileges(dbmeta,'cata','sch','tab','l')
Description
lp = columnprivileges(dbmeta,'cata','sch','tab') returns a list of privileges
for all columns in the table tab, in the schema sch, in the catalog cata for the database
whose database metadata object is dbmeta.
lp = columnprivileges(dbmeta,'cata','sch','tab','l') returns a list of
privileges for column l in the table tab, in the schema sch, in the catalog cata for the
database whose database metadata object is dbmeta.
Examples
Return a list of privileges for the given database, catalog, schema, table, and column
name:
lp = columnprivileges(dbmeta,'msdb','geck','builds',...
'build_id')
lp =
'builds' 'build_id' {1x4 cell}
View the contents of the third column in lp:
lp{1,3}
ans =
'INSERT' 'REFERENCES' 'SELECT' 'UPDATE'
See Also
cols | columnnames | columns | dmd | get
Zobrazit stránku 448
1 2 ... 444 445 446 447 448 449 450 451 452 453 454 ... 683 684

Komentáře k této Příručce

Žádné komentáře