RDBMS version: 11.2.0.4
OS : Oracle Linux 6.4
From the application, the following UPDATE statement is fired occasionally.
UPDATE PKT_HDR_STAGING SET PROCESSED_FLAG='Y' WHERE ORDER_NUM IN( 'Q-83847848','Q-13383483','Q-67129302' ) ;
But , due to a bug introduced two days back the update is fired without the WHERE clause !! Developers are currently working on this.
So in the mean time, I would like to implement a trigger which should prevent(abort) any UPDATE statements against this table without a WHERE clause.
How can I do this ?
This table is not a frequently updated table. Its only updated every 2 hours