I am getting the following error message (when trying to enable NOSQL
in DB2 10.5
, although I don't think that's really the issue):
Error code: -551 DB2 SQL Error: SQLCODE=-551, SQLSTATE=42501, SQLERRMC=DB2ADMIN;REPLACE FUNCTION; SYSTOOLS.JSON_VAL2, DRIVER=4.17.29
An error occurred during database object creation, rolling back
The DB2ADMIN
user already has the following permissions:
grant DBADM, SECADM, ACCESSCTRL, DATAACCESS ON DATABASE TO USER db2admin
I cannot find the GRANT
command that I need to use to enable DB2ADMIN
to replace the function. Sorry, I'm not a DBA, so I just need the exact command I'd need to enter.