It seems like you might be missing a word stating the object before the name (procedure in this case), hence the syntax error. Perhaps this?
grant usage on procedure procedure_testing(varchar) to role analyst;
0
votes
Maybe the message is misleading. Some hints may be:
You are accidentally granting with a role that doesn't have the privilege to do so.
Is it really a procedure? Maybe it's an UDF. Then you need "GRANT USAGE ON FUNCTION procedure_testing(varchar) to role analyst"
Add the word "procedure" before the procedure name
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more