Oracle Maestro online help
Prev | Return to chapter overview | Next |
Create Function Wizard
Create Function Wizard guides you through the process of creating a new Function. See How To create Function for instructions on running this wizard.
The basic principles of Create Object Wizards in Oracle Maestro are covered by the corresponding topic. See below to find the description of wizard steps that are unique to the current object.
Specify the properties for the new Function according to your needs. The detailed description is given below.
Specifying Function properties
Name
Specify a name for the function.
Owner
The field displays the owner of the new function.
Return type
Defines the data type of the function result.
Invoker rights (DEFINER, CURRENT USER)
Specify DEFINER to indicate that the procedure executes with the privileges of the owner of the schema in which the procedure resides, and that external names resolve in the schema where the procedure resides. Specify CURRENT USER to indicate that the procedure executes with the privileges of CURRENT USER. This clause also specifies that external names in queries, DML operations, and dynamic SQL statements resolve in the schema of CURRENT USER. External names in all other statements resolve in the schema in which the procedure resides.
Deterministic
Check the box to indicate that the function returns the same result value whenever it is called with the same values for its arguments
Parallel
The option indicates that the function can be executed from a parallel execution server of a parallel query operation. The function should not use session state, such as package variables, as those variables are not necessarily shared among the parallel execution servers.
Managing parameters of a new Function
Use popup menu Add New Parameter... item to add a new parameter and set its properties in Parameter Editor. Use the Edit and Delete items to manage Function parameters.
Specifying Function Definition
At this step you can specify the SQL definition for the new function. The step is optional: you can do it later using a non-modal editor.
Prev | Return to chapter overview | Next |