如何查找依赖具体化查询 table

How to find dependent materialized query table

有没有一种简单的方法可以找出哪个具体化查询 table 使用我的 table 说我的table.

因为我无法更改 table,因为它是具体化查询 table 的基础 table。

这可以通过系统目录查询,如下所示:

select TABSCHEMA, TABNAME
  from syscat.tabdep
 where DTYPE = 'S'
   and BSCHEMA = 'DB2INST1' 
   and BNAME = 'EMPLOYEE'

可以找到有关列的更多详细信息here