Forum Stats

  • 3,874,337 Users
  • 2,266,724 Discussions


ALTER TABLE DISABLE ALL TRIGGERS not working on editioned view in R12.2.9

AbhishekS Member Posts: 1 Red Ribbon
edited Oct 19, 2021 2:56PM in General Database Discussions


We recently upgraded from R12.1.3 to R12.2.9.

prior to upgrade we had custom triggers based on AP.AP_SUPPLIER_SITES_ALL table.

post upgrade these triggers were automatically moved to AP.AP_SUPPLIER_SITES_ALL# editioned view.

Now the issue is, we were disabling these triggers prior to calling a custom program using the statement "Alter table ap.ap_supplier_sites_all disable all triggers;"

However, post upgrade this statement even though it gets executed it does not work as the triggers have now moved to its editioned view.

Even if we modify the statement as "Alter table ap.ap_supplier_sites_All# disable all triggers;", it fails, obvious because it is not a table anymore.

Any thoughts on this? What should we be doing?