I have a list of procedures where 25% of procedures need to be compiled in a particular schema likewise for the rest of procedures, totally there are 5 schemas.
No procedure will exist in more than one schema.
While creating/compiling, I cannot use the schema prefix before the procedure names. The procedure can have database objects from different schemas.
As of now, I am required to alter the search_path every time when compiling a procedure(based on which schema it needs to reside).
Is there any easier alternate to do this ?