I have been given the task of archiving the code of various database objects as they are being updated. Triggers were brought up as a vehicle to accomplish this. For example, is there any way to catch the code of a stored proc before it is altered, using a trigger? I have been able to successfully catch the code that is being updated, however I can't find a way to capture the code pre-update. Thanks for your help.