Entering content frame

 VIEWDEFS 

Using the system table VIEWDEFS, you can determine the following database information, among other things:

Text that was entered for the definition of your own view table MYVIEW
SELECT definition
  FROM DOMAIN.VIEWDEFS
    WHERE owner = user
      AND viewname = 'MYVIEW'

Only the owner of a view table can select the definition. No output is provided for any other users.

All view tables: see VIEWS

Existence of a view table: see TABLES

Tables and columns forming the basis for a view table: see VIEWCOLUMNS

 

Leaving content frame