The level of privilege necessary to execute a UDR depends on whether the UDR is created with the DBA keyword.
If you create a UDR with the DBA keyword, it is known as a DBA-privileged UDR. You need the DBA privilege to create or execute a DBA-privileged UDR.
If you omit the DBA keyword, the UDR is known as an owner-privileged UDR.
If you create an owner-privileged UDR in an ANSI-compliant database, anyone can execute the UDR.
If you create an owner-privileged UDR in a database that is not ANSI compliant, the NODEFDAC environment variable prevents privileges on that UDR from being granted to PUBLIC. If this environment variable is set, the owner of a UDR must grant the Execute privilege for that UDR to other users.
If an external C or Java language function has a negator function, you must grant the Execute privilege on both the external function and on its negator function before users can execute the external function.
Enterprise Edition Home | Express Edition Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]