TASK:
Move all the functions and procedures in packages to the current Oracle schema. (you can imagine a case when you could need that, if not - take it like a challenge!)
QUESTION:
How can I read the functions/procedure "body" while they are in the package? I know that I can use all_source
, dba_source
and others to get the package body lines, but this means that I have to parse all those rows/strings - it should be an easier way. Isn't it?