A. System Catalogs : Extended System Catalogs : Sample Queries for the Extended System Catalogs for SQL : Example: Find Information on Every Report in the Database
 
Share this page                  
Example: Find Information on Every Report in the Database
This query finds information on every report in the database.
select report=o.object_name, o.object_owner,
  o.short_remark, r.reptype
  from ii_objects o, ii_reports r
  where (o.object_class = 1501 or
    o.object_class = 1502 or
    o.object_class = 1511)
   /* object_classes 1501, 1502, 1511 = reports
   */
  and o.object_id = r.object_id