Run a UDR as DBA

If a DBA creates a routine with the DBA keyword, the database server automatically grants the Execute privilege only to other users with the DBA privilege. However, a DBA can explicitly grant the Execute privilege on a DBA routine to a non-DBA user.

When a non-DBA user who has Execute privilege runs a routine that is registered with the DBA keyword, that user assumes the privileges of a DBA for the duration of the routine. Before the database server exits from a DBA routine, it implicitly revokes the temporary DBA privilege.