Creating the Distance() function in the Point DataBlade® module

About this task

To create the Distance() function:

Procedure

  1. 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
  2. Click Finish and then choose Project > Save to save your project.