| Database Toolbox | ![]() |
Get automatically updated table columns
Syntax
vl = versioncolumns(dbmeta, 'cata') vl = versioncolumns(dbmeta, 'cata', 'sch') vl = versioncolumns(dbmeta, 'cata', 'sch', 'tab')
Description
vl = versioncolumns(dbmeta, 'cata')
returns the list of all columns that are automatically updated when any row value is updated, for the catalog cata, for the database whose database metadata object is dbmeta, where dbmeta was created using dmd.
vl = versioncolumns(dbmeta, 'cata', 'sch')
returns the list of all columns that are automatically updated when any row value is updated, for the schema sch, in the catalog cata, for the database whose database metadata object is dbmeta, where dbmeta was created using dmd.
vl = versioncolumns(dbmeta, 'cata', 'sch', 'tab')
returns the list of all columns that are automatically updated when any row value is updated, in the table tab, for the schema sch, in the catalog cata, for the database whose database metadata object is dbmeta, where dbmeta was created using dmd.
Examples
vl = versioncolumns(dbmeta,'orcl','SCOTT','BONUS','SAL')
vl =
{}
dbmeta is the database metadata objectorcl is the catalog cataSCOTT is the schema schBONUS is the table tabSAL is the column name lThe results show an empty set, meaning no columns automatically update when any row value is updates.
See Also
| update | width | ![]() |