Grant Alter Routine syntax question

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • everymn@yahoo.com

    #1

    Grant Alter Routine syntax question

    Hi,
    Supposedly the Alter Routine privilege can be granted at the level of
    a single routine but I haven't been able to get that to work. I've
    tried it a number of different ways like:

    GRANT ALTER ROUTINE ON test.'routine-name' TO
    'alt-routine'@'local host' IDENTIFIED BY 'alt-routine';

    and

    GRANT ALTER ROUTINE ON test.'routine-name()' TO
    'alt-routine'@'local host' IDENTIFIED BY 'alt-routine';

    with the name of an existing SProc substituted for routine-name.

    Eash results in error - Illegal GRANT/REVOKE command;

    Anybody know what the expected syntax is?
    Thank You
  • every@yahoo.com

    #2
    Re: Grant Alter Routine syntax question

    I found the answer to this thanks. You have to include the object
    type after ON [ procedure | function ]

    Comment

    Working...