Privileges Necessary for Using CREATE PROCEDURE
You must have the Resource privilege on a database to create a user-defined procedure within that database.
Before you can create an SPL procedure, you must also have the Usage privilege on the SPL, C, or Java™ language in which the procedure is written. For more information, see Language-Level Privileges.
By default, the Usage privilege on SPL is granted to PUBLIC. You must also have at least the Resource privilege on a database to create an SPL procedure within that database.