QUESTION POSED ON: 27 August 2008
In my company we are using V5R4, AS400 machine, DB400 database. I am using the iSeries Navigator (Run SQL Script window) to interact with the database.
I have created views on the database (create a library of mine, separate of the production library) and once every two weeks my views (not all of them, about 50% out of all) get deleted. I was thinking of a trigger (before delete on LIBRARY) but i have found DB400 does triggers only on tables/views (DB2ROW or DB2SQL).
Bottom line, i want to see who is deleting my views. How can i get this accomplished?
|