Editing Function Definition

Edit the function definition under the Definition tab. Definition consists of a valid SQL procedure statement. This can be a simple statement such as SELECT or INSERT, or it can be a compound statement written using BEGIN and END. Compound statements can contain declarations, loops, and other control structure statements. The general form of these statements follows.

    Example:
    
      BEGIN
        RETURN i + j;
      END

Hint: To customize the view of the editor and find out more features for sql editing, see Editor View and More Features.

Parameter
Defines function parameter.

Return type schema and Return Type
It indicates the return type of the function.