Enterprise Edition Home | Express Edition Home | Previous Page | Next Page   SQL Statements > CREATE FUNCTION >

Privileges Necessary for Using CREATE FUNCTION

You must have the Resource privilege on a database to create a function within that database.

Before you can create an SPL function, you must also have the Usage privilege on the SPL language . For more information, see Usage Privilege in Stored Procedure Language.

By default, Usage privilege on SPL is granted to PUBLIC. You must also have at least Resource privilege on a database to create an SPL function in that database.

Enterprise Edition Home | Express Edition Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]