Creating the Distance() function in the Point DataBlade module
To create the Distance() function:
Choose Edit > Insert > Routine, type the following information
in the New Routine wizard, and leave all other
fields in the wizard as their default value.
Routine Property
Value
Routine Name (SQL)
double-precision
Arguments
Name: Pnt1, Type: Point
Name: Pnt2, Type: Point
Click Finish and then choose Project > Save to
save your project.