Which privilege required create procedure/function

Please let me know which privilege is required to create stored procedure/function.

Hello rjsv,

You need following grants to create procedure.

GRANT CREATE ROUTINE,ALTER ROUTINE,EXECUTE on <DATABASE_NAME>.* TO ROLE ‘<ROLE_NAME>’;

Thank you very much for your prompt response.