You can use Unified Modeling Language (UML) class diagrams
to create Structured Query Language (SQL) user-defined functions
and add them to databases.
In your project, you must have a database diagram
that already has database and schema objects open in the diagram editor.
To create a user-defined function:
- In the Palette, click User Defined
Function.
- Click inside the diagram where you want to place the
new user-defined function.
- Follow the instructions in the New SQL User
Defined Function wizard.
- Click Finish.