Help Center > > User Guide> MySQL DB Instance Management (Development Tool)> Database Management> Function Management> Creating a Function

Creating a Function

Updated at: Jun 09, 2021 GMT+08:00

Procedure

  1. On the top menu bar, choose Database Management. On the displayed Objects page, select Functions, and click Create Function.

    Figure 1 Creating a function

  2. In the displayed dialog box, specify the function name, returned value, and description, and click OK.

    Figure 2 Editing a function

  3. On the displayed page, edit the function body.

    Figure 3 Editing a function body

  4. In the upper left corner, click Option. In the displayed dialog box, set required parameters and click OK.

    Figure 4 Setting required parameters

  5. Click Save, or click Execute and view the status in the Message area.

    Figure 5 Executing a function

Did you find this page helpful?

Submit successfully!

Thank you for your feedback. Your feedback helps make our documentation better.

Failed to submit the feedback. Please try again later.

Which of the following issues have you encountered?







Please complete at least one feedback item.

Content most length 200 character

Content is empty.

OK Cancel