Create Function panel
You use the Create Function panel to create a new function.
Panel and field definitions
- Schema
- The schema name in which to create the function.
- Name
- The name of the user-defined function.
- Unique Name
- Specifies a unique name for the function that is used by certain SQL statements and Db2® commands.
- Creation Options
- Specify the number of the creation option you want to use:
- 1. Parameters
- Displays the Create Function Parameters panel for defining parameters for the function.
- 2. Parameter Types
- Displays the Create Function Parameter Types panel for specifying additional type information for the function parameters.
- 3. Returned data type
- Displays the Create Function: Returned Data Type panel for specifying the data type returned by the function.
- 4. Option List
- Displays the Create Function Option List (1/2) panel for specifying various options for further defining the function.
- 5. Option List (More)
- Displays the Create Function Option List (2/2) panel for specifying additional options for the function.
- 6. Create the Function
- When you have finished specifying parameter, data type, and option information as required, select this creation option to create the function.
Parent panels
Child panels
To display this panel… | Use/do this |
---|---|
Create Function: Parameters panel | Creation option 1 |
Create Function: Parameter Types panel | Creation option 2 |
Create Function: Returned Data Type panel | Creation option 3 |
Create Function: Option List (1/2) panel | Creation option 4 |
Create Function: Option List (2/2) panel | Creation option 5 |