Wednesday 19 February 2014

Grant Execute Permissions on ODBC




If the Vertica database User is not having Execute permissions on ODBC, follow the below syntax to grant execute permissions. dbadmin (Super user) can give the permissions.

Syntax:
GRANT EXECUTE ON SOURCE public.ODBCSource() to <User Name>;

GRANT EXECUTE ON SOURCE public.ODBCLoader() to <User Name>;


2 comments:

  1. I am trying this, and it works fine for ODBCSource(). For ODBCLoader() I am getting the following error:
    [Vertica][VJDBC](2059) ROLLBACK: Function with specified name and parameters does not exist: ODBCLoader

    Any idea why this would not be working? I can execute as DBAdmin, but I am trying to get a couple of other users permission to execute.
    Thanks!

    ReplyDelete
    Replies
    1. If you are able to access ODBCLoader() from DBAdmin, then can you run the grant execute permission on all user define functions (please refer below attached link) first later try the above commands.

      http://verticadatabases.blogspot.in/2014/02/execute-permissions-on-user-defined.html

      Delete