How to find what changes is done in Procedure through TOAD
Hi All,
Can some one please let me know how to find what are the changes is done in Procedure, packages, functions etc. in databsae through TOAD.
I mean, consider there are more than 100 packages, procedures and functions are present in system@oracle10g database. And today someone has changed/ add something in procedure/functions/packages, so how to finout what are added and in which procedure/functions/packages.
Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
Can some one please let me know how to find what are the changes is done in Procedure, packages, functions etc. in databsae through TOAD.
I mean, consider there are more than 100 packages, procedures and functions are present in system@oracle10g database. And today someone has changed/ add something in procedure/functions/packages, so how to finout what are added and in which procedure/functions/packages.
Thanks in advance
Dost
To find out what changed in the past two days try:
Code:
SELECT owner,
object_name,
created,
last_ddl_time
FROM all_objects
WHERE owner = 'YOUR_SCHEMA'
AND last_ddl_time > Trunc(SYSDATE) - 2;
AND (object_type LIKE 'PRO%';
OR object_type LIKE 'PACK%')
"The person who says it cannot be done should not interrupt the person doing it." --Chinese Proverb
But I need the line of code which is changed. Is it possible?
Actually, once the package is complied , it will show you the latest changes. I mean you cannot see the previous code. So, the person now cannot find what was changed.
Which I required.
Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
Bookmarks