Privileges Required to Create Procedures and Functions that uses objects from other schema.
When you are creating a procedure and you are using objects from other schemas, then the procedure owner needs related privilages exclusively on those objects of other schemas. This cannot be resolved with ROLE.
