Which Oracle table uses a sequence?

前端 未结 5 1191
夕颜
夕颜 2021-01-05 08:17

Having a sequence, I need to find out which table.column gets its values. As far as I know, Oracle doesn\'t keep track of this relationship. So, looking up for the sequence

5条回答
  •  無奈伤痛
    2021-01-05 08:46

    If your sequence is used in a trigger, the trigger will be listed in the sequence's "referenced by" list.

    If your sequence is only used in the source-code queries, than yes, browsing the code is the only way.

提交回复
热议问题