Skip navigation
13731 Views 1 Reply Latest reply: Feb 24, 2010 4:31 PM by Shawn Fox RSS
ravi New Enzee 54 posts since
Sep 14, 2009
Currently Being Moderated

Feb 22, 2010 2:37 AM

GRANT issue

Hi All,

 

I have created one procedure in Netezza called "P_REP_GET_BLOCK_COUNTS". Now if i am trying to GRANT the permission to PUBLIC, it is npt allowing me to do that.

 

----------------------------------------------------------------------------------------

GRANT EXECUTE ON P_REP_GET_BLOCK_COUNTS(VARCHAR(4000),VARCHAR(4000),INTEGER)  TO PUBLIC

 

 

Error: ERROR: GrantRevokeCommand: permission denied. (State:HY000, Native Code: 2D)

 

------------------------------------------------------------------------------------------

 

I am not able to understand the problem..

 

Can someone help me put here..??

 

Thanks in Advance,

 

Ravi



  • Shawn Fox Enzee Exraordinaire 1,326 posts since
    Aug 15, 2006
    Currently Being Moderated
    1. Feb 24, 2010 4:31 PM (in response to ravi)
    Re: GRANT issue

    I would assume that when you are trying to run the GRANT you aren't doing it with the same user that you used to create the procedure.  As the error message says, you do not have the right to grant execute access.

More Like This

  • Retrieving data ...

Bookmarked By (0)